• 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

MySQL down after update

S

StarGate

Guest
Hello,

I updated my 8.1 just now via the Plesk updater.

Now MySQL is down or gone and won't start.

When I try to load Plesk CP I get this:

ERROR: PleskFatalException
Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

0: /usr/local/psa/admin/plib/common_func.php3:153
psaerror(string 'Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)')
1: /usr/local/psa/admin/auto_prepend/auth.php3:90

HELP!!
 
h924475:~ # /etc/init.d/mysql start
Starting service MySQL failed
 
Solved, by my tech whom I was thankfully able to reach after hours.

The Plesk Update changed permission to the /var directory.

A chmod 775 /var/ in SSH and restart after that (shutdown -r now) solved the problem.

I hope this helps other people now too as the problem is very new and no post here handles it.
 
Back
Top