MySQL之常用查询
时间:2019-11-09 12:00:35
收藏:0
阅读:80
1) 查询字符集
show variables like ‘character%‘;
2)查看版本
select version();
3) 共享表空间的数据文件存储路径
show variables like ‘innodb_data%‘;
4) 查看是哪种类型的表空间
show variables like ‘%innodb_file_per_table%‘;
5) MySql数据库物理文件存放位置
show VARIABLES like ‘%datadir%‘;
原文:https://www.cnblogs.com/xingxia/p/mysql_query.html
评论(0)