MySQL database installation manual

Download and installation of MySQL database

In the last section we have a brief understanding of the database and some related concepts

Students who didn't read the previous section click here

Next, we first need to learn how to download and install the database

1 MySQL database version

At present, MySQL official website provides us with two versions, one is the community version and the other is the commercial version:

Community Edition (MySQL Community Server)

This version of the database is the same as the previous version, it is completely free, but MySQL does not provide any technical support

Commercial Edition (MySQL Community Enterprise Edition)

This version is charged, we can also try it for free for 30 days, and the official will also provide relevant technical support

We are using:

What we are going to use here is the latest community version of MySQL 8.0.26

2 MySQL download

Method 1:

Directly open the download URL of the MySQL community version below:
https://dev.mysql.com/downloads/windows/installer/8.0.html
After opening it, as shown in the figure, click download in the interface to download
insert image description here
insert image description here

Method 2:

First visit the official website of MySQL https://www.mysql.com and then click the Downloads option on the opened page to find the community version and download it.
insert image description here

3 MySQL installation

Note: If you have installed MySQL before, you need to uninstall the previous version before installing this new version~

Uninstall manual click here
step 1:

Find the MySQL installation package we just downloaded, which is the msi file, and double-click to run it.
insert image description here
insert image description here
At this time, we are preparing to enter the MySQL installation environment, wait a moment~
insert image description here
insert image description here

Step 2:

Enter the MySQL installation environment, and the following interface will pop up:
We can choose the default developer mode, no need to change, just click "Next" Next step
insert image description here
here is a prompt, indicating that the following content is automatically parsed, click "Execute "Check, after the check, a pop-up window will prompt to click "Yes"
insert image description here

Step 3:

The following is the content that needs to be installed. Click "Execute" to execute the installation. It may take a few minutes
insert image description here
. After installation, there is a small green tick in front of each content.
insert image description here

Step 4:

Enter the product configuration link, click "Next"
insert image description here
to see that the default port number of MySQL is 3306, click "Next" to continue, and continue
insert image description here
to select "Next" in the pop-up page to install
insert image description here

Step 5:

Enter the account and role configuration page, and enter the password you set yourself
. If your password is relatively simple, it may show that the password security level is weak, but it doesn’t matter. Click “Next” to continue
insert image description here
. Service, the name of the service is MySQL80
and the MySQL service will start automatically as the system starts.
insert image description here
Click "Execute" on the pop-up page to execute the application of our configuration information just now. After a few minutes
insert image description here
, click "Finish" " to complete the installation
insert image description here

Step 6:

The next step after the installation is product configuration, no additional settings are required, just operate as shown in the figure.
insert image description here
Here is to connect to the MySQL server, enter your user name and password, and click check to check.
insert image description here
insert image description here
insert image description here
At this point our database has been installed, the next section will share with you how to start, stop and connect to MySQL

Guess you like

Origin blog.csdn.net/weixin_43884234/article/details/123104500