• 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 upgrade

Which I used on a standard 7.5 install and got this error:

Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0: /usr/local/psa/admin/auto_prepend/auth.php3:66 psaerror(string "Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")


Any help appreciated.

Thanks
 
w3it, check that your mysql server is working at all. Try this and send the results here:

# service mysql status
or
# service mysqld status

and also:

# ps ax | grep mysql
 
What an error. Brought down Plesk because of a restart was needed. Maybe something in yum could at least say "Now restart MySQL".

Thanks for all your help
 
Thats a bad trigger in the psa, you'll get the same result when updating mysql 3 packages as well.

Fortunately its a benign error, mysql 4 (or a newer mysql 3 for that matter) is successfully being installed, however psa will report mysql 3 (or older version thereof) as being installed in the CP, due to aforementioned bad trigger.
 
Back
Top