一、通过mysql命令查看mysql的安装路径: 使用的sql语句为: select @@basedir as basePath from dual; 转载于:https://www.cnblogs.com/h-g-f-s123/p/6377927.html