鱼雁可 发表于 2013-11-29 11:16:41

# 2002 MySQL manager or server PID file could not be found!

军哥,我现在使用的是恒创主机的国内VPS,装的是centos 5.9版本,装好LNMP后,访问phpmyadmin提示#2002,然后我允许"/root/lnmp stop"的时候提示:MySQL manager or server PID file could not be found!

我重装过几次了,但每次都是这个问题,#2002,安装过程中我没有启用MySQL InnoDB。

我在https://bbs.vpser.net/thread-2434-1-1.html这里看到有个解决方法是“#2002...SOCK的启动文件引起的,想要改成LOCALHOST就要对启动文件作修改。”,没看懂...


在线等!谢谢

鱼雁可 发表于 2013-11-29 13:15:05

装完LNMP后显示这个

-----------------------------------------------------------------------------------------------
Nginx is runing!
php-fpm is runing!
MySQL is not running, but lock file (/var/lock/subsys/mysql[澶辫触]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp      0      0 0.0.0.0:111               0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:979               0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp      0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp      0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      
#
--------------------------------------------------------------------------------------------------

centos是XEN平台32位

鱼雁可 发表于 2013-11-29 17:18:31

重启LNMP的时候提示这个
# /root/lnmp restart
=========================================================================
Manager for LNMP V1.0,Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Stopping nginx daemon: nginx.
Shutting down php_fpmdone
MySQL server PID file could not be found!                  [失败]
Starting LNMP...
Starting nginx daemon: nginx.
Starting php_fpmdone
Starting MySQL.The server quit without updating PID file (/[失败]cal/mysql/var/htuidc.bgp.ip.pid).
#

licess 发表于 2013-11-29 19:56:55

按置顶帖要求提供mysql日志
页: [1]
查看完整版本: # 2002 MySQL manager or server PID file could not be found!