My Wordpress site has gone down and will not reboot. The error is:
Error establishing a database connection
I’ve tried restarting from the console and UI, but no luck. I have a swap as well.
This isn’t the first time this has happened either, although it happened after a long time…
Any permanent solutions to this recurring and annoying problem???
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Apache logs:
root@farooqyousuf:~# tail /var/log/apache2/error.log [Thu Aug 14 01:04:53 2014] [notice] caught SIGTERM, shutting down [Thu Aug 14 01:05:03 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations [Thu Aug 14 01:10:13 2014] [notice] caught SIGTERM, shutting down [Thu Aug 14 01:10:29 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations [Thu Aug 14 03:26:50 2014] [notice] caught SIGTERM, shutting down [Thu Aug 14 03:27:01 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations [Thu Aug 14 03:29:25 2014] [notice] caught SIGTERM, shutting down [Thu Aug 14 03:29:33 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations [Thu Aug 14 03:48:11 2014] [notice] caught SIGTERM, shutting down [Thu Aug 14 03:48:28 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.11 with Suhosin-Patch configured – resuming normal operations root@farooqyousuf:~# tail /var/log/apache2/error.log