MySQL Error - can't restart
03-31-2015, 09:56 AM
(This post was last modified: 03-31-2015, 10:12 AM by jtwhite.
Edit Reason: found solution, setting thread solved
)
Hi,
I am having a slight issue. Suddenly, MySQL went down, and I have signed into the server to attempt restarting the service however I can't seem to figure out how to restart it.
I have tried
and
but it says the directory wasn't found.
I have experience with servers but I've never had a situation like this. A directory listing of /etc/init.d/ returns:
I'm not sure what I am doing wrong. I'm sure it's something super simple but any help would be greatly appreciated.
Edit: Just to add, the server has plenty of space and the load is averaging 0.05
Edit: I just learned that it is now called mariadb
Just to help someone in the future, use
I am having a slight issue. Suddenly, MySQL went down, and I have signed into the server to attempt restarting the service however I can't seem to figure out how to restart it.
I have tried
Code:
service mysqld restart
Code:
/etc/init.d/mysqld restart
I have experience with servers but I've never had a situation like this. A directory listing of /etc/init.d/ returns:
Code:
[root@cp ~]# dir /etc/init.d
functions iprdump iprinit iprupdate netconsole network README
Edit: Just to add, the server has plenty of space and the load is averaging 0.05
Edit: I just learned that it is now called mariadb
Just to help someone in the future, use
Code:
service mariadb restart