Question

MSQL does not start and is down

Due to more traffic on my website the MYSQL gone down and after restarting it and restarting server and droplet none of these solutions didn’t work,so anyone can help will be appreciated.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Hello, @khudadad

Could you please let me know if you’ve managed to get this sorted or you’re still experiencing the issue?

As already mentioned you can examine the MySQL error_log and see what is causing the issue for you. You can see the last 150 entries logged in the error_log using tail

tail -n 150 /var/log/mysql/error.log

You can also check the journal log:

journalctl  -xe

More information about this can be found here: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs

You can check this tutorial for additional information:

https://www.digitalocean.com/community/tutorial_series/how-to-troubleshoot-issues-in-mysql

Regards, Alex

The MySQL Notifier GUI can also be used to start/stop/restart the MySQL server. … If mysqld doesn’t start, check the error log to see whether the server wrote any messages there to indicate the cause of the problem. By default, the error log is located in the C:\Program Files\MySQL\MySQL Server 5.1\data directory.

when you try restarting mysql service what error did it show ? I would recommend to check mysql error log which can provide accurate information on the issue.

There could be may reasons why mysql service could fail and this discussion might provide some insights and checklist for you to troubleshoot : https://www.digitalocean.com/community/questions/mysql-can-t-be-started-start-job-failed-to-start-error

Incase if you need any assistance, feel free to contact DigitalOcean support by creating a support ticket with all relevant information with log details. One of our support engineers will be able to assist you.