Nov 8, 2018

How to stop MySQL server

systemctl stop mysqld.service

OR

service mysqld stop

OR

If mysql is started by mysqld_safe:

mysqladmin shutdown

OR

use kill if there is no user that is able to connect.