Mysql startup error-server PID file cocould not be found solution [root @ yunhe ~] # Service mysql stopMySQL server PID file cocould not be found! [Failure] www.2cto.com solution: First, check the mysql-related process [root @ yunhe ~] # Ps aux | grep mysq * root 2019 0.0 0.1 6228 1392? S/bin/sh/usr/bin/mysqld_safe -- datadir =/var/lib/mysql -- pid-file =/var/lib/mysql/yunhe. pidmysql 2115 0.0 2.9 353596 30808? Sl/usr/sbin/mysqld -- basedir =/usr -- datadir =/var/lib/mysql -- plugin-dir =/usr/lib/mysql/plugin -- user = mysql -- log-error =/var/lib/mysql/yunhe. err -- pid-file =/var/lib/mysql/yunhe. pid500 4258 0.0 1.6 83432 17484? S gedit/usr/share/mysql/my-medium.cnfroot 5555 0.0 0.0 5936 pts/0 S + grep mysq * if you see the above content, it indicates that mysql-related processes exist, but there is a problem with resource scheduling (as if it is stuck). In this case, we need to close all these stuck processes. [Root @ yunhe ~] # Kill 2019 [root @ yunhe ~] # Kill 20115-bash: kill: (20115)-No process [root @ yunhe ~] # Kill 2115 www.2cto.com and restart mysql [root @ yunhe ~] # Service mysql startStarting MySQL... [OK] [root @ yunhe ~] # Mysql-u root-pEnter password: Welcome to the MySQL monitor. commands end with; or \ g. your MySQL connection id is 1 Server version: 5.6.4-m7 MySQL Community Server (GPL) Copyright (c) 2000,201 1, Oracle and/or its affiliates. all rights reserved. oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. other names may be trademarks of their respectiveowners. type 'help; 'or' \ H' for help. type '\ C' to clear the current input statement. mysql>