Think before you speak, read before you think.

mysqladmin命令

mysqladmin -u root -p processlist -i 3

显示正在运行的processlist,-i 3表示每3秒检测一次。

mysqladmin -u root -p kill 2233

杀掉上面显示的进程2233


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *