Back

[SOLVED] While running `docker compose exec appwrite migrate` I get this error

  • 0
  • Self Hosted
Dipen
31 Aug, 2023, 08:32

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.
Dipen
31 Aug, 2023, 08:38
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)...
Dipen
31 Aug, 2023, 08:38

docker logs appwrite

Drake
31 Aug, 2023, 18:58

So what's in your appwrite folder?

Dipen
2 Sep, 2023, 07:49

this was solved

Drake
2 Sep, 2023, 21:49

[SOLVED] While running docker compose exec appwrite migrate I get this error

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