启动MySQL提示:Manager of pid-file quit without updating file.

升级了下MySQL数据库,同时重新启动了server,重新启动后server后,mysql报错如下:


查看mysql.log看到如下信息:

[root@nginx var]# vi /var/log/mysqld.log


好吧,问题找到了,来修改成之前的数据库位置。文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/mysql-updating-error/

[root@nginx var]# vi /etc/my.cnf

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/mysql-updating-error/

到此我以为完成了,因为服务器提示mysql数据库启动成功了,但是依然无法连接到数据库。猜测可能是权限的问题。

文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/mysql-updating-error/

做此修改后,数据库可以正常连接,一切正常!
申明:本文由BYRD原创(基于Centos6.4 X64),未经许可禁止转载!文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/mysql-updating-error/ 文 章 源 自 note.t4x.orgByrd's Blog-https://note.t4x.org/error/mysql-updating-error/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!

 
Byrd
  • by Published onMarch 27, 2014
  • 原文链接:https://note.t4x.org/error/mysql-updating-error/
匿名

Comment

Anonymous

Slide puzzle verification.