• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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