Chinaunix

标题: [已解决]mysql 启动错误 [打印本页]

作者: 零度冰水    时间: 2009-05-24 17:51
标题: [已解决]mysql 启动错误
启动的时候有这个错误Starting MySQL.Manager of pid-file quit without updating fi[FAILED]

skip-federated已注释
datadir已指定
selinux已经关闭
错误日志:090525 01:13:08 mysqld_safe Starting mysqld daemon with databases from /web/mysq
l
/web/mysql/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
090525  1:13:08 [ERROR] Aborting

090525  1:13:08 [Note] /web/mysql/libexec/mysqld: Shutdown complete

090525 01:13:08 mysqld_safe mysqld from pid file /web/mysql/localhost.localdomai
n.pid ended
090525 01:22:09 mysqld_safe Starting mysqld daemon with databases from /web/mysq
l
/web/mysql/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
090525  1:22:09 [ERROR] Aborting

090525  1:22:09 [Note] /web/mysql/libexec/mysqld: Shutdown complete

090525 01:22:09 mysqld_safe mysqld from pid file /web/mysql/localhost.localdomai
n.pid ended
090525 01:27:23 mysqld_safe Starting mysqld daemon with databases from /web/mysq
l
/web/mysql/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
090525  1:27:23 [ERROR] Aborting

[ 本帖最后由 零度冰水 于 2009-5-25 09:30 编辑 ]
作者: chinaunix__user    时间: 2009-05-25 00:57
1.注意mysql 的数据  日志  目录下的权限.

2.注意残留下的 日志 和my.cnf_*


3.注意ps -A |grep -i mysql   用kill -9 123456

4.二进制日志
作者: 零度冰水    时间: 2009-05-25 09:29
谢谢楼上,已解决
作者: ruochen    时间: 2009-05-27 16:20
原帖由 零度冰水 于 2009-5-25 09:29 发表
谢谢楼上,已解决



解决方法贴出来大家学习一下




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2