I`m developer - InstaMama
Hello everyone,
My website is currently down and here is the massage: “Error Establishing a Database Connection” - here is the screenshot: https://prnt.sc/q9199z
I`m not pretty sure this command will work or not to fix it: sudo systemctl start mysql
I`am afraid to broke something and will appreciate any help.
Thanks
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!
Hello, @mrinsta
I can see that the website is now loading fine. Could you please let us know what was the exact issue here and how you were able to solve it?
You need to make sure that MySQL/MariaDB is running before further checking the site for other errors. If MySQL/MariaDB is running then you would need to further investigate the problem.
Usually it’s good to check the Nginx/Apache error log for further details and to double check the database credentials and make sure that they’re working fine.
Regards, Alex
Hello, request you to refer to below link, which would help you in troubleshooting the Database error:
Best Regards, Sri Charan
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.