• 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

Failure after upgrade.

B

brainlag

Guest
Hello,

after upgrading via yum installer and attomic turttle rep, php and mysql when i try to restart psa i get thhe error

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Also i cant restart mysql

[root@pat root]# service mysqld restart
Stopping MySQL: [FAILED]
Starting MySQL: [FAILED]
[root@pat root]#


When i try to login through PSA i get the error

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

Thanks ;)
 
Hi! No one responded, brainlag did you manage to fix if so, what did you do? I have a similar problem.. .
 
check mysqld.log

check your /var/log/mysqld.log, there you can find what's wrong and suggestions to fix the problem.
 
Back
Top