Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install 2020MySQL

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to install 2020MySQL, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

MySQL installation graphic text tutorial (Windows10)

1. Download MySQL

Can go to the MySQL official website to download, or in my Baidu Cloud Link download. The download speed of the official website is slow. I downloaded it from the official website for nearly four hours, and then put the downloaded good on the Baidu disk. I just took what I needed.

MySQL official website address: MySQL official website

MySQL download address (here is the msi installation package)

Baidu Cloud Link: https://pan.baidu.com/s/1arPSTtKtvV9V_5v1Y6qQrw

Extraction code: oj8n

2. MySQL installation

Double-click the downloaded msi installation file, and the installation interface pops up to proceed to the next installation according to the instructions.

The following interface appears directly after running the installation package

Select Custom, and then Next

Select the installed products: MySQL Server, MySQL Workbench, and then Next

Click Execute to perform the installation

After performing the installation, you will jump out of the following interface, check the right number, and then install it.

Click Next after successful installation

The following interface appears, and then click Execute

Execution process

After the execution is completed, as shown in the following figure, continue to click Next

As follows, continue to Next

Select Standalone MySQL Server to continue Next

No need to change the configuration, continue with Next

Continue Next according to the default selection

Enter the custom database password and continue to click Next

Set the service name and boot self-startup service

Click Execute to install the following files

After the installation is completed, you can directly Finish.

Click Next

Click Finish to install successfully

Workbench running interface

3. Configure environment variables

To manipulate the MySQL database using the Windows10 command line, we need to configure the environment variables

Right-click this computer = > Properties = > Advanced system Settings = > Advanced = > Environment variable, and select the "New" button under the system variable in the open window to create the environment variable.

Create an MYSQL_HOME environment variable

Variable name: MYSQL_HOME, variable value: C:\ Program Files\ MySQL\ MySQL Server 8.0

Variable values can be selected by browsing the directory

Edit the Path environment variable and add:% MYSQL_HOME%\ bin at the bottom of the Path environment variable

When the environment variable is configured, click OK to return all the way.

4. Test the configuration of environment variables

Type net stop mysql at the Windows command line, but the error is reported below

At this time, the mysql name may not be written correctly. You can view the mysql name by typing services.msc.

As follows, the name of the MySQL I found out is MySQL80

Then in the input net stop MySQL80 test, at this time a system error occurred, denied access, this is because the operation authority is insufficient, it can be changed to the administrator operation.

At this point, you can directly search cmd, and right-click to run as an administrator, or directly open the location of the cmd file, then right-click the command line prompt, select properties, select shortcuts, select advanced, and check to run as administrator.

The problem is solved perfectly.

5. Graphical management interface

You can choose Navicat for graphical management

The above is how to install 2020MySQL, the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report