-- 查看所有变量
show variables;
-- 查看当前mysql最大连接数
SHOW VARIABLES LIKE 'max_connections%';

-- 查看当前慢日志的入录时长 单位是(秒)
show variables like 'long%';
-- 查看当前mysql慢日志
show variables like'%slow_query%';
-- 查看当前mysql版本
select version();

-- 查看当前存储引擎
show variables like '%storage_engine%';

-- 查看当前版本mysql支持哪些存储引擎
show ENGINES;

posted on 2022-08-16 21:01  KlausMax001  阅读(20)  评论(0)    收藏  举报
Live2D