Sometimes during our development process, we inevitably need to check the installation paths of some installation tools. However, with so many tools installed, we inevitably forget the specific location of the installation. For example, where is mysq installed? The following article will introduce you to the method of checking the mysql installation path. I hope it will be helpful to you.
How to check the installation path of mysql:
1. Use the mysql tool to pass mysql directory to view the installation path of mysql
The sql client used is: SQLyog, enter the following command:
select @@basedir as basePath from dual
Output:
2. Use the MySQL command line
1. Enter the password to log in
2. Enter the following command:
show variables like "%char%";
The above is the detailed content of How to check the installation path of mysql?. For more information, please follow other related articles on the PHP Chinese website!