mysql日常维护

来源:互联网 发布:1024邀请码淘宝怎么搜 编辑:程序博客网 时间:2024/06/11 16:56


 查看MySQL运行进程

mysql>show processlist;


查看Innodb引擎运行情况:

mysql>show engine innodb status\G


查看MySQL参数情况:

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


查看MySQL运行状态:

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


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

mysql>show tables;

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;



本文出自 “xinsz08の平行时空” 博客,请务必保留此出处http://xinsz08.blog.51cto.com/10565212/1915910

原创粉丝点击