Windows10 MySQL msi installation tutorial

1. Download

1. Click the latest download or copy https://dev.mysql.com/downloads/windows/installer/ link on the MySQL msi official website .

2. Download according to your needs. Here you choose Windows (x86, 32-bit), MSI Installer (mysql-installer-web-community-8.0.19.0.msi)
[Note] mysql-installer-web-community- 8.0.19.0.msi 18.6M is a network installation, which must be networked during installation; mysql-installer-community-8.0.19.0.msi 398.9M is an offline installation. It is generally recommended to download the version used for offline installation, but the network installation is selected here.
Insert picture description here
3. Click ** No thanks, just start my download. ** to download directly
Insert picture description here
4. Download is complete
Insert picture description here
[Note: or you can directly click the Baidu cloud disk link: https://pan.baidu.com/s/1n3ZmTAg4rXehTgp8r-vEfg
Extraction code: 0njp Download mysql-installer-community-8.0.19.0.msi】

2. Installation

1. Select the product you want to install. If you want to change the installation location, click Advanced Options to change. Click Next
Insert picture description here
Insert picture description here
2. Click Next.
Insert picture description here
3. Click Execute to start downloading.
Insert picture description here
4. All products have a green check mark in front of them to download. Click on Next.
Insert picture description here
5. Click Next.
Insert picture description here
6. Select Next.
Insert picture description here
7. Select Next.
Insert picture description here
8. Choose Next.
Insert picture description here
9. Fill in the root's password twice here, you must remember the password! (If you need to create other users, you can click Add User to add). Choose Next.
Insert picture description here
10. Choose Next.
Insert picture description here
11. Select Execute.
Insert picture description here
12. The configuration is complete after playing the green checkmark in all circles. Choose Finish.
Insert picture description here
13. Choose Next.
Insert picture description here
14. Select Finish.
Insert picture description here
15. The installation is complete. It can be accessed in MySQL Workbench CE or MySQL Command Line Client.
Insert picture description here
Insert picture description here
If you want to use the mysql command to access directly on the command line, you need to configure it in the system variable, otherwise you will get an error: 'mysql' is not an internal or external command, nor is it a running program or batch file. .
Insert picture description here

3. Configure environment variables

Add the path where mysql.exe is located in the environment variable-> system variable-> PATH At
Insert picture description here
this time, you can access the mysql database from the command line.
Insert picture description here

Published 9 original articles · praised 1 · visits 851

Guess you like

Origin blog.csdn.net/weixin_36466834/article/details/105023180