Question

MySQL going down after every two minutes.

  • Posted August 15, 2014

Hello, i tried to find relevant article but didn’t found any. My issue is on my VPS MySQL going down in every 2-3 minutes from yesterday. I’m using Wordpress on Ubuntu with 512MB RAM. Every 2-3 minutes my blog showing the message “Error establishing a database connection”. The site opening only after manually starting MySQL with command “service mysql start”.

Please Guide me to solve this issue.

Subscribe
Share

Hello! Are there any errors in MySQL’s error log?

sudo tail -30 /var/log/mysql.err

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Kamal, I have checked the mysql.err file using filezilla with root access but the file is empty there isn’t anything.