Error establishing database connection, #1818
Replies: 4 comments 2 replies
-
Hello @cosc212101048, I don't know if you've seen this post. Maybe it can help you: https://community.easyengine.io/t/how-to-solve-error-establishing-a-database-connection/14333 |
Beta Was this translation helpful? Give feedback.
-
Hello Team, I'm finding the same issue. Followed the link shared by petermann above. Freed up space. The issue persisted. Searching with these log entries in the internet lead me to adding these environment variables in the docker-compose.yml under the service global-db: The global-db image and version in my /opt/easyengine/services/docker-compose is mariadb:v4.6.3 The issue still persists. I'm guessing this might be what's happening to @cosc212101048 too and your advices on it might help us both. |
Beta Was this translation helpful? Give feedback.
-
Hi, Have you tried this procedure? You can find the instructions here: #1759 (reply in thread) or try this command to check and repair tables
Backup Recommendation:It is highly recommended to perform a complete backup before proceeding with any steps to ensure the safety of your data. Suggestion for a full backup (attention to file size):
|
Beta Was this translation helpful? Give feedback.
-
@cosc212101048 did you resolve your problem with the orientations here? |
Beta Was this translation helpful? Give feedback.
-
Hello
My sites were working just fine but suddenly, all sites are giving "Error establishing database connection".
After running
docker ps
I noticed that MariaDB container keeps restarting
6a6b484aaf56 easyengine/mariadb:v4.6.6 "docker-entrypoint.s…" 4 months ago Restarting (1) 4 seconds ago
I tried restarting everything, but i can't fix the issue
Beta Was this translation helpful? Give feedback.
All reactions