ITPub博客

首页 > 数据库 > MySQL > 一台AppManager服务器断电后,启动Mysql报错

一台AppManager服务器断电后,启动Mysql报错

原创 MySQL 作者:tonykorn97 时间:2008-05-15 12:39:28 0 删除 编辑

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

请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088319