ERROR "MySQL connection error on"


At first, I am very happy with Hestia control panel but some times ago view in my email spam folder many message, some weeks more than four per day (not all days) that said me this:

MySQL connection error on
Can't connect to MySQL localhost
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)

My panel not working with any database.
And in my configuration “mariadb” service is disable.
And in configure server/Databases have this configuration:

  • MySQL Support : Yes
  • phpMyAdmin Alias: phpmyadmin
  • PhpMyAdmin Single Sign On: Disabled

For now not view any problems in the domains have working with hestia panel, only this continuous email in my spam folder.

Where is the problem?

Looks like your mysql service is down, you want probaly check why and bring it back up.

Thanks for reply.
but how I found the problem?
has something to do with it disable “mariadb” service?

Try this:

df -h | grep 100%

If the output is empty, good news if the output is a device, it is at 100% and that’s why it’s not working.

With this command you can restart mysql or start it if it is stopped.

service mysql restart

See if there are errors

RDD does run 5 min checks if it is running or not. Might be the issue