本文共 359 字,大约阅读时间需要 1 分钟。
#查看日志路径show variables like 'log_%';# mysql数据目录show global variables like "%datadir%"#查看慢查询show variables like '%slow_query%';show variables like '%quer%';show global variables like '%long_query%';#查看时区show variables like '%time_zone%';# 字符集show variables like 'character%'# 排序规则show variables like 'collation%';
SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;
转载地址:http://nhxwb.baihongyu.com/