నా ఇలాఖ

MySQL troubleshooting

Just in case you are facing downtime issues on MySQL on CentOS try these.

Check if disk is full

if disk is full check which folder is occupying lot of space.

Then go into individual folders to check if files can be deleted. If mysql/ folder looks like culprit, below steps might be useful.

If mysqld.log is big, trim it.

In case there are 1.1GB files with sequence file numbers, e.g. xxx.00001, xxx.00002 etc, in /var/lib/mysql. Delete them.

If mysql is not allowing you to stop, kill it.

If mysql says Starting MySQL.The server quit without updating PID file try these

If none of these work, dont loose faith.. Ask Google.

Still issues? ask a DBA.

Still issues? prepare to put down your papers.

Exit mobile version