• One of my website has this problem. error establishing a database connection. It keeps happening often when I log into dashboard, sometimes it fixes itself in 15-20 seconds. But sometimes I have to turn off and turn on again droplet in digital ocean. As I know It may have several reasons. How Can I see exactly what’s wrong with it? how to diagnose and resolve it? How to see error logs or something that tells me reason why this keep happening? Thanks to all. ( I want to know how to diagnoze why this happening and then find out the method how to fix it)

    See screenshot here of this common error
    see screenshot

    • This topic was modified 5 years, 6 months ago by 445887485124.
    • This topic was modified 5 years, 6 months ago by 445887485124.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Yui

    (@fierevere)

    永子

    Since you say its a VPS, then check mysql error log, it shall have more clues about whats happening with mysqld and why it does not accept connections.

    It can be misconfigured and your VPS can run out of RAM

    Thread Starter 445887485124

    (@levanii)

    How do I check mysql error log?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error establishing a database connection’ is closed to new replies.