Ad

isaiah
asked Feb 08 2017
Answer
Run the below command to remove the lock file and restart the service.
# rm /var/lock/subsys/mysql
If not started then it means that MySQL was not stopped properly, so check it with ps or lsof command and kill it.
Once it is done, restart the service and check. It will work fine..!!!

jagannatharumugam
asked Feb 12 2017
edited Oct 05 2018
If you are facing this error try to run this command"# rm /var/lock/subsys/mysql" I think this will solve your error easily.
Available here https://shavonyagroup.com Contractor Services in Brooklyn NY

ayesy
asked Jul 06 2023
edited Jul 07 2023
Thanks for help!
JamesLens
asked Sep 18 2023
edited Sep 19 2023
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
I got the following error when checking the status of MySQL, and if i restart the MySQL also returns the same one.....