mysql启动错误,MySQL server PID file could not be found!
# lnmp restart+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...done
MySQL server PID file could not be found!
Gracefully shutting down php-fpm . done
Starting LNMP...
Starting nginx...done
Starting MySQL.The server quit without updating PID file (/usr/local/mysql/var/Nserver1603.2ip.com.cn.pid).
Starting php-fpmdone附上mysql的配置文件和错误日志: 160709 21:21:05 mysqld_safe The file /usr/local/mysql/bin/mysqld
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
按日志信息可能 mysqld 文件不存在
ls -l /usr/local/mysql/bin/ 看一下,你发的mysql日志应该不是完整日志吧
回复 2# 的帖子
额,我删除过一次错误日志,但是这个错误日志是我重启mysql的完整记录。我看了下,确实是mysqld文件不存在,那应该怎么办?重新编译吗?
回复 2# 的帖子
好吧,我到另外一台机器上又重新装了一个lnmp,然后把mysqld给复制过来就可以了,虽然办法笨,可还是解决问题了
页:
[1]