Report this

What is the reason for this report?

Mysql doesn't start, no logs either

Posted on July 26, 2022
gj

By gj

Mysql doesn’t start, no logs either. systemctl status mysql.service - returns


ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)

systemd[1]: mysql.service: Control process exited, code=exited status=1


Is there any way to repair or reset mysql from this state?



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!

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.

Hi @gja,

After you try and start it, once it fails type in:

journalctl -xe

The error should be seen there.

Additionally, are you sure there are no errors in your error log? If everything is configured properly, the errors should be there.

Hello there,

Have you recently made any changes to the MySQL configuration or any general changes on the droplet? If you examine the server’s resource usage is there anything weird you can spot on?

Additionally, you can check /var/log/syslog for any references to the MySQL service that can help to resolve the issue.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.