Problem with Wordpress and MySQL connection when i publish/edit a post
First of all, I'm using Google translator because my native language is Spanish. So sorry for the mistakes! Now, the main problem: Currently I have a 512MB Droplet with Wordpress which was configured with this tutorial (https://www.digitalocean.com/community/articles/one-click-install-wordpress-on-ubuntu-12-10-with-digitalocean) The problem I have now is that every time I post something or edit any post, it takes too long to respond and then appears a message saying that the Wordpress lost connection to the database. Obviously stopped and restarting MySQL returns everything to normal. What I notice is that when publishing the post, the CPU gets too high, almost 80%. What is what could be happening? I know is something related to MySQL and his configuration, but i´m not able to figure it out.