1.Linux下启动/关闭/重启Mysql:
命令: /etc/init.d/mysql start|stop|restart;
2.查看MySQL当前用户占用的连接数:
命令: show processlist;