1  show processlist;

查看当前有那些表是打开的)

查看服务器状态)

4 show variables like '%timeout%';(查看服务器配置参数)