The thread has called mysql_lock_tables() and the thread state has not been updated since. This is a very general state that can occur for many reasons. For example, the thread is going to request or is waiting for an internal or external system lock…
sh-4.1# /etc/init.d/mysqld status ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists sh-4.1# /etc/init.d/mysqld start Starting MySQL. ERROR! The server quit without updating PID file (/data1/mysql/mysql.pid). sh-4.1# rm mysql…
[root@admin-node subsys]# service mysql startStarting MySQL. ERROR! [root@admin-node subsys]# service mysql status ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists /var/lock/subsys/mysql存在的原因可能是以前没有卸载干净或者上次意外退出.直接将其删除就可以了,删除…