mysql not restarting after server reboot

Not sure where the best place to get assistance with this is, here or with Forge who provisioned the server, but maybe someone here has some experience.

My server has recently restarted, and when it did, mysql won't restart.

I'm getting the following error

Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.

Thought I was over the past issue , but now this! Argh.

Any thoughts on how to debug?

1 Reply

And what do these output?

See "systemctl status mariadb.service" and "journalctl -xe" for details.

Another nice command:

journalctl -b -u mariadb.service

The -b means "since last boot".

Also please check

/var/log/mariadb/mariadb.log

which is likely to have more detailed info.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct