If we do not configure the environment variables after installing MySQL in the WINDOWS10 system, we must enter the MySQL installation directory when using the command line for MySQL operation. It can be very cumbersome to operate. What should I do about it? Win10 the method of configuring MySQL environment variables in the system.
Method/Step:
Keyboard key combination: Win+i, open the Settings window, click "System", enter system Setup
When you click Open, select "About"-"system Information" in the System Setup window,
Select Advanced system settings in the window that appears;
In the System Properties window, select environment variable ...;
In the Environment Variables window, locate Path in system variables and click Edit ... to edit;
In the Edit System Variables window, move the cursor directly to the last semicolon (;) find the MySQL Bin folder to add to the path as shown below
After the input, click the "OK" button to test using the key combination: win+r, open the Run window, enter: cmd, open the Command Line window as shown in the following figure
In the Command Line window input: mysql-uroot-p, enter the MySQL password, you can enter MySQL.
Wonderful topic sharing: MySQL different versions of the installation Tutorials mysql5.7 version Installation Tutorials
The above is the WIN10 system to configure the MySQL environment variable method, I hope to help you learn, but also hope that we support cloud habitat community.