-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Ubuntu (docker up): backend failed to connect to MySQL after 30 tentatives. #113
Comments
@AchrafB2015 The backend cannot connect to the MySQL server that docker spawned. If you could share the docker-compose file used and the output of |
@manrajgrover I have the same issue. I just used the docker-compose.prod.yml from main, but changed the passwords from the defaults. Here is my output:
Here are my precise logs from docker compose up:
|
@manrajgrover I also tried again using the default passwords (i.e. not changing the docker-compose.prod.yml from main) and am still getting this issue. |
My base system is ubuntu-22.04 |
It does appear to work with the dev docker, I can at least get to the landing page. |
@manrajgrover So trying those commands using the default credentials, I cannot connect:
|
While running "sudo docker-compose -f docker-compose.prod.yml up", I had the following error :
mysql_1 | 2023-09-08T08:54:15.042298Z 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '5.7.43' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
backend_1 | Couldn't connect to MySQL: 0/30
backend_1 | Couldn't connect to MySQL: 1/30
backend_1 | Couldn't connect to MySQL: 2/30
backend_1 | Couldn't connect to MySQL: 3/30
backend_1 | Couldn't connect to MySQL: 4/30
backend_1 | Couldn't connect to MySQL: 5/30
backend_1 | Couldn't connect to MySQL: 6/30
backend_1 | Couldn't connect to MySQL: 7/30
backend_1 | Couldn't connect to MySQL: 8/30
backend_1 | Couldn't connect to MySQL: 9/30
backend_1 | Couldn't connect to MySQL: 10/30
backend_1 | Couldn't connect to MySQL: 11/30
backend_1 | Couldn't connect to MySQL: 12/30
backend_1 | Couldn't connect to MySQL: 13/30
backend_1 | Couldn't connect to MySQL: 14/30
backend_1 | Couldn't connect to MySQL: 15/30
backend_1 | Couldn't connect to MySQL: 16/30
backend_1 | Couldn't connect to MySQL: 17/30
backend_1 | Couldn't connect to MySQL: 18/30
backend_1 | Couldn't connect to MySQL: 19/30
backend_1 | Couldn't connect to MySQL: 20/30
backend_1 | Couldn't connect to MySQL: 21/30
backend_1 | Couldn't connect to MySQL: 22/30
backend_1 | Couldn't connect to MySQL: 23/30
backend_1 | Couldn't connect to MySQL: 24/30
backend_1 | Couldn't connect to MySQL: 25/30
backend_1 | Couldn't connect to MySQL: 26/30
backend_1 | Couldn't connect to MySQL: 27/30
backend_1 | Couldn't connect to MySQL: 28/30
backend_1 | Couldn't connect to MySQL: 29/30
backend_1 | Error connecting to database
audino_backend_1 exited with code 1
Anyone had this issue, how could I solve this? Thanks !
The text was updated successfully, but these errors were encountered: