LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant start MariaDB (https://www.linuxquestions.org/questions/linux-newbie-8/cant-start-mariadb-4175591113/)

AdultFoundry 10-10-2016 05:52 AM

Cant start MariaDB
 
I have the latest release of Centos 7 and MariaDB. I wanted to change the password for the database users and I run this command:

Code:

mysqld_safe --skip-grant-tables --skip-networking
I pressed Enter on my PC and I logged out by closing Putty as it was taking a while and I have changed my mind regarding the command.

Now, the MariaDB is not working and I cant start it with:

Code:

systemctl mariadb start
###Edit:
I run "ps aux | grep mysql" and I got this:

http://prnt.sc/cs14tp

I was thinking about killing these two manually and then trying again with "systemctl start mariadb". I am not a Linux specialist, so I am not sure. I would not want to get it worse than it is now.

###Edit 2:
This seemed to help:

mysqladmin -u root -p shutdown
<password here>
systemctl start mariadb

RESOLVED!

grail 10-10-2016 08:54 AM

Please use the Thread Tools to mark as SOLVED :)


All times are GMT -5. The time now is 06:31 PM.