./bin/mysqladmin -uroot -p123456 -S /home/allen/var/mysql/mysql.sock shutdown 转载于:https://www.cnblogs.com/allenhaozi/p/4509781.html