Option 1: Use an online password generator
Use a free online password generator to generate a secure random password.
Examples:
Option 2: Use OpenSSL
- Create new
db_password.txt
insidesecrets
directory - Install OpenSSL if not already available, verify with
openssl --help
- Generate a random password with the following command:
openssl rand -base64 -out ./secrets/db_password.txt 32