Sentora Support Forums
MySQL Error - can't restart - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: MySQL Error - can't restart (/showthread.php?tid=1360)



MySQL Error - can't restart - jtwhite - 03-31-2015

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
Code:
service mysqld restart
and
Code:
/etc/init.d/mysqld restart
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:


Code:
[root@cp ~]# dir /etc/init.d functions  iprdump  iprinit  iprupdate  netconsole  network  README
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

Code:
service mariadb restart