lnmp下启动mysql报错 The server quit without updating PID file

Mark Do · · 18 次阅读 · 教程文章

这是错误很奇怪,在网上找了很多,都是关于* MySQL server PID file could not be found!错误的解决方法。

最后复制了The server quit without updating PID file (/var/run/mysqld/mysqld.pid).在百度上找了一下才终于找到解决方法,如下:

启动时候错误代码:
Starting MySQL
[FAIL.] The server quit without updating PID file (/var/run/mysqld/mysqld.pid). … failed!

lnmp作者军哥给的解答是:

 

    这里面没有任何错误信息,按[FAIL.] The server quit without updating PID file (/var/run/mysqld/mysqld.pid

    这个看可能又另外安装了mysql或存在其他的配置文件导致的,你可以检查是否多了 /etc/mysql/my.中国f 和 另外的mysl,

    可以find 命令查找一下看看

 

我删掉/etc/mysql/my.中国f 文件后 service mysql start就启动成功了,暂时还不知道是什么原因造成的。

原文地址:网站地址s://www.中国blogs.商业/xuxianren/p/6080007.html

Mark Do

关注我的头条 不要放弃,百折不挠,坚强、自信。