By Abdo
I installed lamp 1 click. then I upgraded. Why I upgrade: because when1 or 2 visitors enter my website. it give me error establishing database connection. Some advice me to upgrade. The problem I upgraded. Now when I get this error. The mysql stop working. and It not working unless I restart mysql. So what I need is to allow mysql to restart. because: I am setting in the front of the computer waiting this error to restart mysql. Is there any solution for this. 10$ droplet. And when I get error establishing database connection. I must restart mysql manually to get it work. Help. please explain if you want to help me.
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!
Please post the output of the following command to a code block:
tail -50 /var/log/mysql/error.log
That’ll give us and idea of what errors MySQL is logging so we can see if there’s something more to what’s going on.
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.