MySQL8.0.28 installation tutorial
If you want to download the latest version, go to mysql's official website to download: Download address: mysql
Network disk download link version: 8.0.28
- Baidu network disk extraction code: XALA
- Ali network disk
1. Enter the official website and click DOMNLOADS
2. Here we find the community edition for download
3. Find MySQL Community Server and click
4. Here we can choose the installed system, mine is the win system. Then click Go To Download page, go to the download page
5. Here we choose the second program to install, the first one is a folder. After downloading, we also need to configure the environment. It is very cool to download the second one, just install it directly.
6. We don't log in here, just click No thanks, just start my download. Just download it. But this will download slowly. For foreign websites, you can find a ladder to climb over the wall. If it really feels slow, you can download version 8.0.28 from the link above.
7. After the download is complete, find the installer and click Open to install it
8. We select the last one, perform manual installation, and click next. Because we don't need to install many things, only a few can be used
9. I recommend this choice here. After expansion, select and click the right arrow to go to the box on the right, and then click next
10. Click Execute here to load.
11. When all three are green ticks, click next
12. Click next
13. Here is to choose the connection method and port number, it is recommended to default, click next
14. If you are a novice, choose the second one, and the big guy chooses the first one. Here I choose the second one. Click next
- Enter the password here, it must be the same twice, if you use it personally, you can set it to be simpler, the simpler the appointment. This is the password of your root user in mysql. Be sure not to forget! ! ! ! Click next
16. This setting enables automatic startup, the default is, next
17. Click Execute to load
18. After the loading is complete, we are prompted that we are successful, click finish
19. Click next
20. Click finish, the installation is complete
21. It is OK to have these two interfaces, one is the shell window and the other is the graphical management interface
22. Click here
23. Enter the password, which is the password of the root user that you just said you must not forget! ! !
24. In this way, we enter the graphical operation interface. This function is very powerful, but it is not very friendly to Xiaobai and students who are not very good in English. It is recommended that you use navicat or sqlyog. If you need a cracked version, you can send a private message ^ _ ^
25. We are testing the shell command. Win+R key and enter cmd to open the command window and enter mysql -uroot -p, then he will prompt you that it is not an internal command. We need to set an environment variable for global access
26. Find the installation directory of mysql: C:\Program Files\MySQL\MySQL Server 8.0\bin is generally this directory, enter the bin file, and copy the path
27. Find the advanced system settings for your system. Click Settings. System > About > Advanced System Settings. Mine is win11, you can also find win10 in the settings
28. Click Environment Variables
29. Find the path, double-click to enter
30. Click New, paste the path you just copied, and then click OK to close all the three windows you just opened. Why configure environment variables? Because the mysql.exe file is in this directory, we can use the mysql command directly to configure environment variables.
31. Let's open the command window and try again: mysql -uroot -p enter the password to enter
If you have any questions, please message me privately