Article directory
Enter the official website to download MySQL8.0.24
Note: The MSI installation method is chosen here. This method is more suitable for beginners. It does not require too many configurations and is simple and easy to get started.
1. Search mysql in the browser and click on the following page to enter the official website. You can also click: https://www.mysql.com/
2. Click downloads
3. Click MySQL Community (GPL) Downloads »
4. ClickMySQL Installer for Windows
5. Click Archives
6. Select 8.0.24
7. Click download to start downloading
https://downloads.mysql.com/archives/installer/
Start installing MySQL8.0.24
1. Double-click the installer to start the program
2. Select custom here and click the [Next] button
3. Add the services and connection drivers you need here, or they can be as shown below
4. Modify the installation path of the added services and drivers. Note: If you want to change, you must change each one added. If the C drive has enough capacity, you don’t need to change it (I personally recommend not changing it).
5. After changing the installation path of all required drivers and services to the D drive, click the [Next] button
6. Click the [Execute] button to start the installation< /span>
7. After the installation is completed, click the [Next] button
8. Click the [Next] button
9. No modifications are made here. Click the [Next] button
10. The authentication method is set here. Keep the default without modification. Click the [Next] button
11. Enter your mysql password, click the [Next] button
12. Keep the default and click the [Next] button
13. Click the [Execute] button to start the installation
14, configure the installation
15, click the [Next] button
16, complete the installation
MySQL8.0.24 environment variable configuration
win+r, open the run window, enter sysdm.cpl
Click the Enter key, select Advanced - Environment Variables
Create a new system variable< /span>
The configuration is as follows:
变量名:MYSQL_HOME
变量值:D:\Program Files\MySQL\MySQL Server 8.0
add path
Verify whether MySQL8.0.24 is installed and configured successfully
win+r, enter cmd to open the command window
In the command window, enter: mysql -uroot -p, enter the mysql password set during installation, and successfully enter the mysql command window, indicating that the installation and configuration are successful.