MySQL installation tutorial [installation version]

1. Download

Enter the mysql official website     MySQL :: MySQL Downloads

Download Community Edition (MySQL Community (GPL) Downloads)------MySQL Installer for Window------

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

The first one (the size is more than 10 M) is online online installation, and the installation package will be downloaded online.
The second one (the size is more than 400 M) is offline installation, here we choose this and download it locally for installation. Click "Downloda" to enter the download page

Although the download is the 32-bit version, the 64-bit version is also included).

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

On the download page, select No thanks, just start my download at the bottom

If you think it is slow, you can go to the open source software mirror website of domestic universities to download, such as the mysql mirror URL of the University of Science and Technology of China:

USTC mysql mirror URL icon-default.png?t=M276http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/

2. Install mysql

1. Double-click the installation software to start the installation

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_15,color_FFFFFF,t_70,g_se,x_16

2. The following figure is to select the installation type, select the default installation, and then click "next".

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

 3. Detect the required installation, here we directly click next

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

 4. Click yes 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_17,color_FFFFFF,t_70,g_se,x_16

5. Click Execute to start the installation 

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

6. After the installation is complete, click next 

  watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

7. Click next​ multiple times (until the following page appears), the first one is selected by default, click “next” to continue

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

8. Password authentication method (Authentication Method) This step is very important

The first is strong password verification. MySQL recommends using the latest database and related clients. MySQL8 has changed the encryption plug-in, so if you choose the first method, it is very likely that your navicat and other clients will not be able to connect to mysql8.

So you must choose the second one here (the place in the red box in the picture below)

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

9. Click Execute to start the installation  

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

10. After the installation is complete, click Finish 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_20,color_FFFFFF,t_70,g_se,x_16

 11. Set a password, you need to keep in mind, and use this password to link the database later. After entering, click next to continue. 

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

12. Click next by default 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

11. Click next

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

12. Click next by default

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

13. Enter the user name and password, click check to check if they are correct. Next can be clicked after success

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

14. Click Execute to execute the installation (click Finish when finished)

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

15. Click Finish (the first is the Mysql client, if you don't use it, just check the second "start mysql shell after setup", click "finish") (the installation of the database is completed here)

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_19,color_FFFFFF,t_70,g_se,x_16

3. Verify that the installation is successful

1. Open the mysql command line client you just installed from the start menu as shown below 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_16,color_FFFFFF,t_70,g_se,x_16

2. Enter the password and press Enter

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_12,color_FFFFFF,t_70,g_se,x_16

3. Enter show databases;

This command must be followed by a semicolon (;) to indicate the end of the SQL statement. This command is used to display the default installed database, as shown in the following figure, the installation is successful.

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA6LaF57qn5bCP55qE5aSn6KW_55Oc,size_17,color_FFFFFF,t_70,g_se,x_16

If you need a compressed version, please refer to the  Mysql installation process [compressed version ]
 

Guess you like

Origin blog.csdn.net/qq_59636442/article/details/123058454