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:
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:
systemctl mariadb start
I run "ps aux | grep mysql" and I got this:
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.
This seemed to help:
mysqladmin -u root -p shutdown
systemctl start mariadb