Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
#2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured).
When I try to login my PHPMyAdmin, I get the following error messages:
#2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured). mysqli_real_connect(): (HY000/2002): No such file or directory Connection for controluser as defined in your configuration failed.
Error screenshot: https://www.screencast.com/t/TciiR9NIBi
but after rebooting my droplet, I am able to use my WordPress and PHPMyAdmin normally without any errors!
It’s really frustrating to get that error randomly!
Please help me.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×