在工作中遇到需要查看mysql数据库文件存储位置

在命令窗口,登录mysql后,使用如下命令:

show global variables like "%datadir%";

Logo

更多推荐