Add environment variables to mysql database system software

0. First find the Mysql software installation directory and copy its path

1. First, right-click on the desktop My Computer and then click Properties

2. Then click "Advanced System Settings"

3. Find the "Advanced" tab in the pop-up "System Properties"

4. Click "Environment Variables"

 

5. In the pop-up window you will see "User Variables" and "System Variables"

6. We find the variable "Path" in the "System Variables" below and double-click it

 

7. Then a pop-up window of "Edit Environment Variables"

8. When we click "New", an edit box will appear in the list

9. We paste in the mysql installation path that we just copied to.

 

 

 

10. Then click "OK" to close all windows

11. No need to restart the computer

12. At this time we see if it takes effect

 

13. Go back to the desktop win+r to open the run window and enter cmd to open the dos command line

 

 

14. Enter mysql -uroot -p in the command line and press Enter

 

 

15.Prompt Enter password:   

 

 

16. Show that the environment variable is set successfully

17. Enter the password root and press Enter and the following figure appears. Successfully access the database software

Guess you like

Origin blog.csdn.net/a159357445566/article/details/108982569
Recommended