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

D

deMone

Guest
I just upgrade mysql server by ART's yum up to version 4.1.12

Then I stop PSA:
/etc/init.d/psa stopall
(all ok)

and then start it:
/etc/init.d/psa startall

Code:
Starting named:                                            [  OK  ]
Starting qmail:                                            [  OK  ]
Reloading configuration:                                   [  OK  ]
db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Unable to connect to mysql database
Starting psa-spamassassin service:                         [FAILED]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
[root@km22402-03 root]# /etc/init.d/psa stopall
Stopping named:                                            [  OK  ]
Stopping MySQL:                                            [FAILED]
Shutting down psa-spamassassin service:                    [  OK  ]
Stopping httpd:                                            [  OK  ]

I don't interested in spamassassin's error, but I need fix mysql error.

I try start mysql manually:
Code:
service mysqld start
but have error «Timeout error occured trying to start MySql Daemon»

What should I do to fix this error?

Thanks!

PS: my system is FC2
 
I find solution on this bug:

It just need to add "skip-bdb" to the "mysqld" section of /etc/my.cnf

read more

please, close topic...
 
Back
Top