一臺AppManager伺服器斷電後,啟動Mysql報錯

tonykorn97發表於2008-05-15

一臺AppManager伺服器斷電後,啟動Mysql報錯:

[root@RedHat5 AppManager7]# ./startApplicationsManager.sh
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/opt/AdventNet/ME/AppManager7/working/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/opt/AdventNet/ME/AppManager7/working/mysql/mysql.sock' exists!
[root@RedHat5 AppManager7]#

[@more@]

把mysql.sock改名
[root@RedHat5 AppManager7]# mv /opt/AdventNet/ME/AppManager7/working/mysql/mysql.sock /opt/AdventNet/ME/AppManager7/working/mysql/mysql.sock.bak

重啟程式Ok
[root@RedHat5 AppManager7]# nohup: appending output to `nohup.out'

[root@RedHat5 AppManager7]# tail -f nohup.out

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/312079/viewspace-1004081/,如需轉載,請註明出處,否則將追究法律責任。

相關文章