Back

Decentralized database Access Denied

  • 0
  • Self Hosted
  • Databases
Alex-Integracom
9 Mar, 2024, 12:13

Hi, I'm following the decentralized+horizontal playbook of Appwrite. I miningfully followed all steps but services server can't reach the decentralized database. Here is what I get: Fatal error: Uncaught Exception: Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'appwrite'@'192.168.1.14' (using password: YES) in /usr/src/code/app/http.php:77

I think the problem is on the IP side. The IP shown on the log is the service server local IP, not the decentralized database IP as I configured.

What could be the issue please ? I uninstalled and installed again all the setup twice but I've same error

TL;DR
Decentralized server facing "Access Denied" issue when trying to connect to decentralized database. Error: "Access denied for user 'appwrite'@'192.168.1.14' (using password: YES)." The problem may be due to the IP configuration. Check if the database IP is correctly configured and check permissions.
Alex-Integracom
9 Mar, 2024, 12:35

On the decentralized server side, I have this log on appwrite-mariadb:

[Warning] Access denied for user 'appwrite'@'192.168.1.14' (using password: YES)

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