当前位置:Gxlcms > 数据库问题 > mysql日常维护

mysql日常维护

时间:2021-07-01 10:21:17 帮助过:36人阅读

 查看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

mysql日常维护

标签:procedure   thread   create   engine   status   

人气教程排行