MySQL Suddenly stopped working
Everything was fine few hours ago when I last visited my site.
Now when I opened the site I was greeted with a 'something has gone wrong' message. What!!!!
I quickly checked my error log but I didn't find anything.
Eager to bring my forum back up, I had no choice but to do
$Configuration['Debug'] = true; in a LIVE FORUM.
And the errors says:
SQLSTATE[HY000]  Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) bla bla ...
Long story short. I restarted MySQL and every seems fine again.
Now, What am after is what might have caused MySQL to stop working.
I know this may not be a vanilla issue but please, if you have any Idea please let me know. So I can prevent this from happening again.
I don't even know how long my forum was down...