- Someone change your wp-config.php
- Your MySQL database is screw up
- MySQL service is not running.
A sure way to check is to go to WHM and check MySQL service. I'm not sure if cPanel shows. I had problems restarting the service a few times.
TIP: Using a cahce plugin like Total Cache or Super Cache helps to alleviate the problem since it will still show the cache post/homepage rather then a homepage showing "Error establishing a database connection". This will give you enough time to resolve the problem.
here are some tips on how I resolve the error.
No comments:
Post a Comment