Sometimes restarting the My SQL server may fix this issue.
These are My SQL error logs which will give the exact reason for My SQL failure.
Here is the error displayed when the My SQL service is restarted.
And follow my lead, we’ll get you sorted in no time!
At this point, you might think I’m joking but trust me on this and don’t laugh it off when I ask you to – first, breathe, then – restart your system.
The server quit without updating PID file (/var/lib/mysql/yourservername.pid)” is thrown when My SQL fails to start.
The PID file in the My SQL data directory is gone and My SQL wont behave without it........................................................ This occurs when My SQL is upgraded to a later version or due to insufficient permission and ownership issue in My SQL data directory.Solution When you receive this error on the My SQL server, there are many solutions to fix it. You may try to restart My SQL service after performing each step to check if the error is solved.It is recommended to take full backup of My SQL data directory /var/lib/mysql/ before you make any changes to My SQL service.1) Connect to your server via SSH as root user and restart My SQL manually. The file in the mysql data folder is gone and mysql just wont behave without it.