1. 查看配置参数
show variables like '%cache%';
2. 查看运行状态
show status like '%conn%' ;
3. 查看mysql 线程的运行情况
show processlist;
可以使用kill 命令杀死其中某个线程
参考
http://dev.mysql.com/doc/refman/5.0/en/kill.html
4. 查看表结构
desc table_name;
show create table table_name;
show full columns from table_name; # 可以显示表字段的注释
5. 显示拥有的插件
show plugins;