I signed up for the $5 droplet plan for a wordpress site. Fresh install, only plugins are Yoast so far. The theme is one of the default ones (twenty-21). Sometimes, I can get into the website and everything works normally.
Lately, a lot of the times, the page just hangs while loading. I’ll often be sent to this wordpress page:
Error reconnecting to the database This means that we lost contact with the database server at localhost. This could mean your host’s database server is down.
Are you sure the database server is running? Are you sure the database server is not under particularly heavy load? If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
I’ll try on my phone with a data connection (not using my home wifi), and it won’t even recognize the domain sometimes (sends me to default AT&T search for my domain name).
I know I set my domain up correctly, because it does work sometimes. I just have to wait 10-20 minutes or so, and the website will work again for another 10-20 minutes.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!