mysql——报错,MySQL server PID file could not be found!
报错:
[root@localhost opt]# service mysql stop
ERROR! MySQL server PID file could not be found!
[root@localhost opt]# service mysql restart
ERROR! MySQL server PID file could not be found!
[root@localhost opt]# service mysql status
ERROR! MySQL is running but PID file could not be found
方法一:(失败)
方法二:成功
root@localhost ~]# killall mysqld
[root@localhost ~]# ps -ef|grep mysql
root 3721 3046 0 20:11 pts/0 00:00:00 grep mysql