Install MySQL8.0.24 under Windows 10


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/

Insert image description here
Insert image description here
2. Click downloads
Insert image description here
3. Click MySQL Community (GPL) Downloads »
Insert image description here4. ClickMySQL Installer for Windows
Insert image description here
5. Click Archives
Insert image description here
6. Select 8.0.24
Insert image description here
7. Click download to start downloading

https://downloads.mysql.com/archives/installer/
Insert image description here
Insert image description here

Start installing MySQL8.0.24

1. Double-click the installer to start the program
Insert image description here

2. Select custom here and click the [Next] button
Insert image description here

3. Add the services and connection drivers you need here, or they can be as shown below
Insert image description here

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).

Insert image description here

5. After changing the installation path of all required drivers and services to the D drive, click the [Next] button
Insert image description here
6. Click the [Execute] button to start the installation< /span>
Insert image description here

7. After the installation is completed, click the [Next] button
Insert image description here
8. Click the [Next] button
Insert image description here
9. No modifications are made here. Click the [Next] button
Insert image description here
10. The authentication method is set here. Keep the default without modification. Click the [Next] button
Insert image description here
11. Enter your mysql password, click the [Next] button
Insert image description here

12. Keep the default and click the [Next] button

Insert image description here

13. Click the [Execute] button to start the installation
Insert image description here

14, configure the installation
Insert image description here
15, click the [Next] button
Insert image description here
16, complete the installation
Insert image description here

MySQL8.0.24 environment variable configuration

win+r, open the run window, enter sysdm.cpl
Insert image description here
Click the Enter key, select Advanced - Environment Variables
Insert image description here
Create a new system variable< /span>
Insert image description here

The configuration is as follows:

变量名:MYSQL_HOME
变量值:D:\Program Files\MySQL\MySQL Server 8.0

Insert image description here
add path
Insert image description here

Verify whether MySQL8.0.24 is installed and configured successfully

win+r, enter cmd to open the command window
Insert image description here

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.
Insert image description here

Guess you like

Origin blog.csdn.net/m0_62617719/article/details/133852240