mysql平常维护


 查看MySQL运行进程
mysql

mysql>show processlist;sql


查看Innodb引擎运行状况:ide

mysql>show engine innodb status\Gspa


查看MySQL参数状况:blog

mysql>show [global] variables like '%innodb%';进程


查看MySQL运行状态:ssl

mysql>show [global] status like '%thread%';ci


查看表、存储过程、触发器:it

mysql>show tables;innodb

mysql>show procedure status;  show create procedure USP_Cursor;

mysql>show triggers; show create trigger TRI_UP_User_Delete;


查看MySQL帮助:

mysql>help;

mysql>help conntents;

mysql>help show;

相关文章
相关标签/搜索