• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue What caused this error?

Mischa

New Pleskian
Hi,

Suddenly this error showed up:

ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Connection refused /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)

Since nothing changed on the server i wonder which trigger caused this error. Knowing this maybe can prevent that this will happen on my new server.

Because we couldn't fix it we added a new server with a fresh install. So every feedback can help us prevent the same error occurs.

Thanks!
 
What is
# service mariadb status
saying?

Have you tried
# service mariadb restart
?
 
To find the reason why the database server crashed you will need to look at the systemmessages log and the database server's log file at the time when the database crashed.
 
Back
Top