By paultorzel
We are having database connection issue today. It was working perfectly. Database name is - “newbettingsites”. I tried to reboot server and also restarted MySQL but no luck. Kindly help.
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,
It sounds like that your MySQL service might be crashing or the database credentials that you are using could be incorrect.
What I could suggest is checking the following:
sudo systemctl status mysql
sudo tail -100 /var/log/mysql/error.log
For more information on how to troubleshoot common MySQL problems make sure to check out this tutorial here:
https://www.digitalocean.com/community/tutorial_series/how-to-troubleshoot-issues-in-mysql
Let me know how it goes. Best, Bobby
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.