WordPress appliance shows: Error establishing a database connection

This message appears when browsing to the WordPress site.

Not sure what caused this, but it looks like the mysql process quit. I did a "ps aux | grep mysql" and it only returned this statement. After a restart of the JumpBox, everything is ok again, and the mysqld process is running.

I don't see any logs in the /var/log/mysql folder. Is there any easy way to turn on logging so if this happens again, we'll know why?

Thanks!

Eric

WordPress appliance shows: Error establishing a database connect

Hi Eric,
I can't recall seeing something like this happen on a JumpBox before. Are you doing anything else on the JumpBox?

There may be useful information about MySQL in /var/log/syslog ... possibly in other files in /var/log ... you can grep for mysql in that directory

grep mysql /var/log/* | less

Could you run the command free -m for me?

Austin

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.