#[SOLVED] While running `docker compose exec appwrite migrate` I get this error
5 messages · Page 1 of 1 (latest)
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