I get this error when trying to load my wordpress site, does this have anything to do with the BLR1 Networking Issue notice that I get when I log into digitalocean?
“Error establishing a database connection”
“The network problems in our BLR1 region have returned and we are actively working to improve and monitor the state of the network. Users may experience latency and/or connectivity issues during this time. We will post an update when we have additional information or once the issue is fully resolved.”
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This happened to one of my local sites a few months back. There’s a really easy to follow guide here at https://mythemeshop.com/blog/fix-the-error-establishing-database-connection-in-wordpress/ that has a video as well on how to solve it
This is due to a problem with your server, nothing to do with the networking. Try checking your error logs including apache2/nginx error.log and mysql error.log. If your error logs say such as cannot allocate memory, then you should consider upgrading your droplet to one with more RAM.
Rebooting your server should fix the issue but you need to dig deeper if it keeps happening.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.