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!