VPS侦探论坛

 找回密码
 注册
查看: 4207|回复: 1

lnmp 1.1 不能启动数据库问题这么解决

[复制链接]
发表于 2015-11-12 11:43:38 | 显示全部楼层 |阅读模式

用的IM 追踪,错误日志挤爆服务器,只好删除大量的IM 日志,然后重启服务器,发现数据库启动不了,已经第二次这种问题了,上次是重装了。不知道这个是什么造成的。
[root:~]$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

[root:~]$ /etc/init.d/mysql restart
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/var/ip-172-81-16-212.pid).

这些是错误提示 希望能帮忙看看!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-11-12 12:53:53 | 显示全部楼层


按置顶帖反馈必读提供日志信息
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 13:24 , Processed in 0.025014 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表