lately I have been loading my website, and almost every time I do (once or twice a day) the message: "Error establishing a database connection". I have resolved it temporarily by stopping and starting mysql using 'service mysql stop' then 'service mysql start'.
My website works after I send these commands over ssh.
However this is recurring, every time I load my website, say the next day, I get the same error.
My server is running Ubuntu 14.04 (DigitalOcean) and has mysql, phpmyadmin and wordpress installed.
Can anyone give my some advice on how to resolve this?