CMD into the folder command:
Return to the parent directory CD. You can do it.
You can also enter the folder directly by the CD folder name.
Add double quotes to enter the desired folder directly
MySQL Free install configuration tutorial
http://blog.csdn.net/wolfofsiberian/article/details/39753561
2. Extract files to D-Drive
Of course you can extract the other drive below, but note that it is best to place it under the root directory, which avoids some unusual problems.
3. Add the MySQL Bin directory path to the system path
This computer---Right-click Properties---Advanced system settings---Environment variables----SYSTEM Variables---find "path"
Add D:\mysql-5.6.21-winx64\bin after path; here, the environment variable is configured so you can open a console command
Window verification (input MySQL), command inside can already recognize MySQL commands.
4. Configuring the My.ini File
Copy D:\mysql-5.6.21-winx64\my-default.ini, named My.ini, and add the following:
Basedir = D:\mysql-5.6.21-winx64
DataDir = D:\mysql-5.6.21-winx64\data
Port = 3306
MYSQLD--install Installation Services
mysqld--remove Removal Service
Note Administrator permissions, and folder access permissions
Small Knowledge Point Collection