Back

[SOLVED] Changing DB password in .env causes bad gateway

  • 0
  • Self Hosted
  • Databases
punti_z
5 Apr, 2024, 14:38

Post Appwrite installation when I change the default password for mariaDB in .env file (_APP_DB_PASS / _APP_DB_ROOT_PASS) it causes a bad gateway error and Appwrite docker logs have the below error

Database not ready. Retrying connection (1)... Database not ready. Retrying connection (2)...

How is one supposed to change the default password ?

TL;DR
Changing the password in the .env file only affects how Appwrite connects to the database, not the database password itself. To change the MariaDB password, follow the usual steps for changing a database password.
Steven
5 Apr, 2024, 14:41

Changing the password in the .env only changes what Appwrite uses to connect to the database. The password in mariadb is still the same. You'd follow the typical steps of changing a mariadb password to actually change the password

punti_z
5 Apr, 2024, 14:44

understood.. thanks

punti_z
5 Apr, 2024, 14:44

[SOLVED] Changing DB password in .env causes bad gateway

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more