By Dulaine
Hello guys!
I am totally new to this hosting world and especially controlling your host throw command line! I have chosen digital ocean after a long search and it suited my budget and performance-wise as well
my problem is I am having this issue while trying to load my website and getting this error (error establishing database connection).
I have tried this solution putting this line on my
define('WP_ALLOW_REPAIR', true);
on my wp-config.php file throw command line and got to http://www.example.com/wp-admin/maint/repair.php to see if there are any issue or not and all were fine!
What’s wrong then? I have seen another article quite a long time back on Digital ocean people talking about having this issue randomly on their droplets!
I am seriously thinking about changing and migrating to another hosting
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!
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.