How to change the installation path of Mysql: When installing Mysql, select "Custom Installation" in the installation guide interface; then select the mysql file that needs to be downloaded; then change the path, click the "Advanced Options" button, and in the pop-up Just customize the installation path of mysql and the directory of Data in the window.
The default installation directory of MySQL is: C:\Program Files (x86)\MySQL
MySQL's Data is saved in: C:\ProgramData\MySQL
Select the last item to customize the installation:
Select the mysql file you need to download, and then change the path:
Customize the installation path of mysql and the directory of Data:
Changing the path is completed
You can see here that MySQL and Data have been installed on the F drive;
Recommended tutorial:mysql video tutorial
The above is the detailed content of How to change the installation path of Mysql?. For more information, please follow other related articles on the PHP Chinese website!