共計 839 個字符,預計需要花費 3 分鐘才能閱讀完成。
丸趣 TV 小編給大家分享一下一臺 AppManager 服務器斷電后啟動 Mysql 報錯怎么辦,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
一臺 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]#
把 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
以上是“一臺 AppManager 服務器斷電后啟動 Mysql 報錯怎么辦”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注丸趣 TV 行業資訊頻道!