mysqld_multi stop doesn't seem to work

Whenever this happens, I usually try to shutdown mysql using mysqladmin

For example, to shutdown mysql running on port 3307

mysqladmin -h127.0.0.1 -P3307 -uroot -p shutdown

Once you ran that make sure, mysql on that port is indeed down like this:

mysqladmin -h127.0.0.1 -P3307 -uroot -p ping

Give it a Try !!!


To stop any instance of mysqld_multi privileges should be granted to multi_admin user. Kindly check grants part also.


This issue is still present in MYSQL 5.7.7 It sounds funny but the work around is to use pass instead of password in my.cnf for [multi_admin] group user.

[mysqld_multi]
mysqld     = /usr/bin/mysqld_safe
mysqladmin = /usr/bin/mysqladmin
user       = multi_admin
pass       = pass123

Tags:

Mysql