• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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