
from 1.3.7 to 1.3.8
TL;DR
While running `docker compose exec appwrite migrate`, the user encountered an error stating "Failed to connect to database: SQLSTATE[HY000] [1045] Access denied." The issue was resolved by updating the Appwrite version from 1.3.7 to 1.3.8.
TypeScript
Fatal error: Uncaught Exception: Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'user'@'[ip]' (using password: YES) in /usr/src/code/app/http.php:77
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 77
[2023-08-31 08:36:56 #1.1] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught Exception: Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'user'@'[ip]' (using password: YES) in /usr/src/code/app/http.php:77
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 77
Database not ready. Retrying connection (10)...
Worker 1 started successfully
Worker 2 started successfully
Worker 4 started successfully
Worker 3 started successfully
Worker 5 started successfully
Worker 6 started successfully
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...
Database not ready. Retrying connection (3)...
Database not ready. Retrying connection (4)...
Database not ready. Retrying connection (5)...
Database not ready. Retrying connection (6)...
Database not ready. Retrying connection (7)...
Database not ready. Retrying connection (8)...

docker logs appwrite

So what's in your appwrite folder?

this was solved

[SOLVED] While running docker compose exec appwrite migrate
I get this error
Recommended threads
- DigitalOcean Droplet SMTP failure with m...
Is there any way to get the appwrite 1.6 mailer docker image working on a droplet? I can send emails via the appwrite console, but my magiclinks always fiail wi...
- unable to remove project 500 error
We are unable to remove a project, when clicking setting option it showing 500 Server Error
- How to run queries to get the storage li...
I installed the n8n (self-hosting) and community node n8n-nodes-nappwrite. I tried to get the storage list files more than 25 records. But I cannot find the w...
