虚拟机里面做实验,启动系统后,进入mysql提示失败
1
|
ERROR! MySQL server PID file could not be found!
|
百度查询,ps aux|grep mysql
杀掉进程重启还是没有解决,最后看到有提醒如何磁盘空间满的话也会引起mysql启动不了!果断删除一些文件,然后重启mysql,果然OK!
1
2
3
4
5
|
[root@localhost src] # df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda2 6.5G 6.1G 74M 99% /
tmpfs 499M 0 499M 0% /dev/shm
/dev/sda1 190M 50M 131M 28% /boot
|
重启mysql
1
2
3
|
[root@localhost src] # service mysqld restart
Shutting down MySQL.. SUCCESS! Starting MySQL. SUCCESS!
|
本文转自 yawei555 51CTO博客,原文链接:http://blog.51cto.com/huwei555/1680565,如需转载请自行联系原作者