MySQL8.0 installation detailed tutorial

Preface:
Differences between MySQL versions:

● MySQL Community Server: Community is a community version, open source and free, but does not provide official technical support;

● MySQL Enterprise Edition: Enterprise version, you need to pay, you can try it for 30 days, and provide official website technical support;

● MySQL Cluster: Cluster version, open source and free, can package several MySQL Servers into one Server;

● MySQL Cluster CGE: Cluster Advanced Cluster Edition, which requires payment;

● MySQL Workbench (GUI TOOL): Workbench is an ER/database modeling tool specially designed for MySQL. It is the successor of the famous database design tool DBDesigner4. MySQL Workbench is divided into two versions, namely the community version (MySQL Workbench OSS) and the commercial version (MySQL Workbench SE).

Our commonly used version is the MySQL Community Server community version, which is open source and free.

1. Download the installation package address

MySql Community (Community Edition): MySQL :: MySQL Community Downloads (Here I choose the Community Edition, which is free and basically meets simple daily use)
MySQL Enterprise Edition (Enterprise Trial Edition): https://edelivery. oracle.com/
MySQL Cluster CGE: https://edelivery.oracle.com/

Find the required installation package

Click download, here we choose the installation version (mysql-install-community)

We choose not to log in to download

Two. MySql installation

1. Run the installation package

Run the downloaded mysql-installer-community-8.0.29.0.msi.

After successful operation, enter the welcome interface. Choose I agree to the agreement, otherwise you cannot proceed to the next step.

1.Choosing a Setup Type Description:

1. Enter the type selection page, I need mysql cloud service and choose developer default
2. If you only want to install mysql server, choose custom mode

1. Installation type:

developer default (developer default): install all products required for mysql development

server only (server): only install mysql server products

client only (client): only install mysql client products without a server

full (complete): installs all included mysql products and features

2. Check Requirements Description:

The developer’s default mode detects that the following programs will not be installed successfully, click Next to enter the next installation process -> skip to step 8.
check requirements: Requests for the following products failed, and the installer will automatically attempt to resolve some of them.
Requirements marked as manual cannot be resolved automatically. Click on these items to attempt manual recovery.
Then click ok to go to the next step

Uninstallable program detected Description:

Visual Studio: It is a code editing tool (can write C#, Visual Basic, C++, TypeScript, F#), if you install it, you need to install Visual Studio version: one of the 2015.2017 versions

Connector/pyton 8.0.29: If the computer has python3.6, no other version is selected. If you don't have python installed, you can install some content as required.

3.Installation instructions:

In the installation selection interface, we can see the program we need to install next, click execute to
install the program progress interface, and the installation will take some time. Click dide tails to see the installation log

After the program installation is complete, click next

4. Product Configuration description:

On the product configutration (product configuration) page, you can see the program that needs to be configured
and click next

5. Type and Networking description:

Set the server configuration type and connection port: continue to next

Config Type: Select Development Machine, which is enough for small and learning purposes.

Port number: Enter 3306, you can also enter other, preferably between 3306-3309.

6. Authentication Method description:

Encryption method selection: the top is new, the bottom is old, the default is fine, click next

7.Accounts and Roles Description:

Configure the password of root (this password should be remembered), the system prompts that the password is weak
Click next to enter the Windows Service interface

8. Windows Service description:

What is set here is the service name of MySQL in Windows. (Set at will)
After setting here, when MySQL is started, the MySQL80 service will appear.

9.Apply Configuration instructions:

Mysql server: apply configuration (application configuration page), select execute to install and configure

After the mysql server application is configured, select finish

The installer returns to the product configutration (product configuration) page.
At this point we see the successful installation of mysql server, continue to the next step

10.MySQL Router Configuration description:

Configure mysql router: Check configure mysql route for innoDB cluster and enter the password.
If you don't want to enter the password, you can click it directly (I just click Next)

Go back to the Product Configuration interface
and then next

11. Connect To Server instructions:

Check the root password
and then next

12...Apply Configuration Description:

Install some servers, click execute as before, and click finish after completion

Next

it's almost over here

13.Installation Complete description:

Click Finish
to complete the installer interface.

Guess you like

Origin blog.csdn.net/m1195900241/article/details/131503016
Recommended