ITPub博客

首页 > 数据库 > MySQL > Mysql启动错误-server PID file could not be found

Mysql启动错误-server PID file could not be found

原创 MySQL 作者:Michael_DD 时间:2014-10-17 11:23:54 0 删除 编辑

Mysql启动错误-server PID file could not be found



错误一般都是发生在my.cnf配置文件:

在centos5.2下安装5.1.30的时候出现如下mysql错 误 MySQL manager orserverPIDfilecould not befound![FAILED] Starting MySQL.Manager of pid-file quit without updating file.[FAILED]mysql 查看错误日志 默认的mysql错误日志是在/usr/local/mysql/data 下

在centos5.2下安装5.1.30的时候出现如下mysql错误
MySQL manager orserverPIDfilecould not befound![FAILED]
Starting MySQL.Manager of pid-file quit without updating file.[FAILED]mysql
查看错误日志
默认的mysql错误日志是在/usr/local/mysql/data 下面 more ****.err 有下面的信息
090302 02:27:26 mysqld_safe mysqld from pid file /opt/mysql/web2.pid ended
090302 02:30:03 mysqld_safe Starting mysqld daemon with databases from /opt/mysql
090302 2:30:03 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option'--skip-federated'
090302 2:30:03 [ERROR] Aborting
解决方法:
只要将/etc/my.cnf里面的 skip federated注释掉即可。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29500582/viewspace-1301654/ ,如需转载,请注明出处,否则将追究法律责任。

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

注册时间:2014-02-22

  • 博文量
    326
  • 访问量
    2671972