How to configure environment variables after mysql5.7 database installation is complete, mysql5.7 Environment Variables
If the environment variables are not configured after mysql is installed in Windows 10, you must enter the mysql installation directory when using the command line for mysql operations. This operation will be very troublesome. What should I do? How to configure mysql environment variables in win10 system.
Method/step:
Keyboard combination key: Win + I. Open the settings window and click "system" to enter system settings
Click "open" and select "about"-"system information" in the system settings window ",
In the displayed window, select Advanced system settings ";
In the "System Properties" window, select "environment variable ...";
Find "Path" in "system variables" in the "environment variables" window, and click "Edit ..." Edit;
In the "Edit System variables" window, move the cursor directly and enter a semicolon (;) to find the mysql bin folder and add it to the path as follows:
After entering the command, click "OK" to test and use the combined key: Win + R to open the Run window. Enter cmd to open the command line window, as shown in.
Enter mysql-uroot-p in the command line window, press enter, and enter the mysql password to enter mysql.
The above is how to configure mysql environment variables in the win10 system. I hope it will be helpful for your learning, and I hope you can support more help.