Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello everyone,
I have a VM from DO, and my distro is Ubuntu 16.04. I have the following software installed: Apache2: 2.4.18 php: 5.6.26 mysql: 5.7.15 phpmyadmin: 4.5.4
I often get this error message on my wordpress site:
Error Establishing a Database Connection
So when I go to check my phpmyadmin and I try to log in I get the following error messages:
This above the login form
#2002 - No such file or directory<br />The server is not responding (or the local server's socket is not correctly configured).
and this under the login form
Connection for controluser as defined in your configuration failed.
Here a screenshot for better illustration phpMyadmin Screenshot
What I have done till now is always restarting my vm to get rid off that problem:
sudo reboot
After rebooting I am able to use my wordpress and phpmyadmin normally without any errors!
But I believe there is a better solution! It’s really frustrating to get that error randomly! Please help me.
Thanks
8de6506ab95941599c71af090e9c95
keneucker
keneucker
rich
santoshpatil
Aspiresoftserv
Yakin
Thejaswini-Rao-U
775c69c916d345a7a367d867078ccb
mayricoak
ndam
bc2f52583874402a988f587c00195d