一台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
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-1004081/ ,如需转载,请注明出处,否则将追究法律责任。