Website down: Error Establishing Connection to Database

23 views
Skip to first unread message

Simon Lewis

unread,
Apr 6, 2020, 8:09:11 AM4/6/20
to Google App Engine
Hi there
In the last few hours our website has crashed.  It then returned, but has gone down again.

When I connect to the FTP it's fine, and I can download the WP-Config.php file and see our DB credentials.
When I uyse phpmyadmin, it states No Such file or directory.

So how can that possibly be?
We are on a trial, but desperately need to get our site back up and running.

when you visit https://www.79design.org.uk, it loads, but only bits of it.  We use cloudflare but only for IP, not for hosting or caching.

We cannot connect to wp-admin, or the hidden url for admin either as it throws the Error message.

Hopefully someone has come across this and can assist us.

Simon

noverlyjoseph

unread,
Apr 6, 2020, 4:20:27 PM4/6/20
to Google App Engine

Since you’ve posted it here I’ll assume you’re using WordPress with App Engine and not with Compute Engine.


You could review this document[1] to see if you’ve set up your database connection properly.


What you could also do is to look at the Cloud SQL logs to see if that gives you any indication on why the connection dropped.

Since you’ve mentioned it does not always work, could be an issue with Cloud SQL dropping the connection or unable to connect to some tables since you’ve also mentioned only part of the page will load when trying to access it.


[1] https://cloud.google.com/community/tutorials/run-wordpress-on-appengine-standard


Reply all
Reply to author
Forward
0 new messages