mysql查看变量 samRsa 2023-04-07 56 阅读1分钟 在MySQL客户端执行如下命令查看MySQL的数据存放位置: show global variables like "%datadir%"; 查看端口号 show global variables like 'port';