Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Friday, 31 January 2014

[FIXED]"MySQL is running but PID file could not be found" error


While restarting MySQL service, you may get the error below ,
"MySQL is running but PID file could not be found"
In order to to fix this error , Lets try to do the below steps,

1) Create the directory " var/run/mysql ".
# mkdir /var/run/mysql
2) Now create  file " mysqld.pid " .
# touch mysqld.pid
3) change its ownership of " mysqld.pid " to "mysql:mysql "
# chown mysql:mysql mysqld.pid
4) Restart MySQL service by,
# /etc/init.d/mysql start
That's it, try this and let me know you've get the result. :-)

No comments:

Post a Comment