编辑sql语句:select @@basedir as basePath from dual;


+------------------------------------------+
| basePath                                 |
+------------------------------------------+
| C:/Program Files/MySQL/MySQL Server 5.5/ |
+------------------------------------------+


通过Mysql语句查询得到mysql安装路径

相关文章: