Back

Change databases passwords

  • 0
  • Databases
D5
27 Jun, 2023, 12:23

How I could set a password in the MariaDB database Appwrite has (in the docker container) and in the Redis database?

TL;DR
User is asking about changing database passwords for Appwrite. They are unsure if InfluxDB stores user data and wants to confirm that MariaDB and Redis are the databases storing user data. There is a link to a GitHub issue related to the topic. They ask if they need to stop the Appwrite instance to set the password and question the purpose of the ENV var for redis password. The response states that for MariaDB, the password can be updated through SQL queries. Appwrite does not work well with a password-required redis. The user asks how to set passwords for MariaDB and Redis in the Appwrite docker container. Solution: To
Drake
27 Jun, 2023, 12:26

If the database has already started, you'll have to update the password like any other mariadb server: by making the SQL queries to update the password.

As for redis, Appwrite doesn't work well with a redis that requires password

D5
27 Jun, 2023, 12:26

Then why there's an ENV var to set redis password?

D5
27 Jun, 2023, 12:27

If I'm not wrong, I will need to stop the appwrite instance to set the password, true?

Drake
27 Jun, 2023, 12:29

You'll might need to restart after

D5
27 Jun, 2023, 12:29

I see

D5
27 Jun, 2023, 12:29

Thanks

D5
27 Jun, 2023, 12:30

If I'm not wrong the only databases storing user data are both MariaDB and Redis (for caching)?

D5
27 Jun, 2023, 12:31

I know there's an additional database (InfluxDB), but that only stores matrics/stats?

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