当前位置:网站首页>Teach you how to install the latest version of mysql8.0 database on windows, nanny level teaching
Teach you how to install the latest version of mysql8.0 database on windows, nanny level teaching
2022-06-29 13:45:00 【51CTO】
One 、 advance cognition
If you want to be in windows Run in mysql, need 32 Bits or 64 Of windows operating system , for example :windows10、windows11 etc. ;
windows Two installation methods are provided under the platform :
-
mysql Binary distribution version (.msi The installation files ); - Installation free version (
.zip Compressed files )
Generally, we use binary distribution to install .
The environment I use here is :
Two 、 download mysql Installation package
1、 Open the browser , visit mysql Download address on the official website
2、 Click the download button , Download the installation package to local
The installer has two versions , Respectively mysql-installer-web-community and mysql-installer-communityl, among mysql-installer-web-community Install version for online ,mysql-installer-communityl Install version for offline . Here, of course, we choose the offline installation version .

Then click... In the following interface (No thanks, just start my download.) mean , We don't log in or register , Just download an installation package .

Then it will start our download , When we finish downloading , You'll get the following mysql Software installation package ;

3、 ... and 、 install mysql
double-click mysql Installation package , After a while , The following installation interface appears ;

You can see that there is 5 Installation type in , Namely :
-
Developer Default: Default installation type -
Server only: Just as a server -
Client only: Just as a client -
Full: Completely installed -
Custom: Custom installation
Here we choose Custom, That is, custom installation , And then click Next;

The following interface appears ;

We do selective installation ;
Our option MySQL Server 8.0.29-X64、MYSQL Documentation 8.0.29-X86 and Samples and Examples 8.0.29-X86 that will do .

And then click Next Interface , Appear below , We click Execute( perform ):

Then the installation will be performed , Here's the picture :

Then we waited patiently , Until the following interface appears , We click Next;

Appear below , We still click Next;

Four 、 To configure mysql
The server type configuration window appears , Pictured :

When we click Config Type When , You can see several options appear ;

The above meanings are :
-
Development Machine( Developing machines ): This option represents a typical personal desktop workstation . Suppose there are multiple desktop applications running on the machine , take MySQL The server is configured to use the least system resources . -
Server Machine( The server ): This option represents the server ,MySQL The server can run with other applications , for example FTP、Email and Web The server .MySQL The server is configured to use the appropriate proportion of system resources . -
Dedicated Machine( Dedicated server ): This option represents run only MySQL Servers served . Assuming no other service program is running ,MySQL The server is configured to use all available system resources .
Here we use Development Machine( Developing machines ), Easy to use , Other default configurations are not changed , Just click Next.
As shown in the figure Permission setting method window , The first single option means MySQL 8.0 New ways of Authorization , use SHA256 Basic cryptographic methods ; The second single option means traditional authorization methods ( Retain 5.x Version compatibility ). Here's the second single option .

Click on Next after , We are in the new pop-up interface , To configure mysql Database root User name login information , What I'm setting up here is Yunweijia0909, We need to input twice ;
Of course , We can also add other users to this interface , This can be configured according to the actual situation ;

Once configured , Let's continue to click Next Button ;
Then you can configure the database name , Here we configure MySQL;

Click on Next, Then click Execute, Pictured :

The system automatically configures MySQL The server . When the configuration is complete , single click Finish( complete ) Button , A new dialog box will pop up ;

Next, click... In the interface Next after , The following interface appears :

Here we enter the previously configured user information , namely Yunweijia0909, And then click Check Button , You'll find him in the upper right corner Status Turned into Connection succeeded, Indicates that the connection is successful . When you're sure , Click on Next;
Click... In the new interface Execute;

After the operation is completed, the Finish Button , Click to ;

Then click... In the lower right corner of the new interface Next, appear :

our Mysql The installation is complete .
5、 ... and 、 verification
1、 Task manager
When you open the task manager, you will also find a mysql.exe The process of , Pictured :

2、 Command line
PS C:\Users\22768> mysql -uroot -p
Enter password: *************
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 18
Server version: 8.0.29 MySQL Community Server - GPL
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
thus , In this paper, the end .
For more information, go to VX official account “ Operation and maintenance home ” , Get the latest article .
------ “ Operation and maintenance home ” ------
------ “ Operation and maintenance home ” ------
------ “ Operation and maintenance home ” ------
Interview with system operation and maintenance engineer , Nominations for excellent staff of operation and maintenance engineer ,tr O & M Engineer , I'm calling the operation and maintenance engineer for daily work ,IT Senior operation and maintenance engineer ;
Intelligent manufacturing operation and maintenance engineer training course , Remote office operation and maintenance engineer , Salary of Mindray medical operation and maintenance engineer , What does the backstage O & M engineer do ;
How about the wind operation and maintenance engineer , Inspur cloud operation and maintenance engineer , Sample certificate of medical equipment operation and maintenance engineer , Boyfriend of operation and maintenance engineer , The O & M engineer is grumpy .
边栏推荐
- Can I open an account online? Is it safe
- @Table爆红
- DeeCamp2022正式开营!李开复、张亚勤亲授大师课 | 创新事
- Acwing game 57
- AOSP ~ initialization language
- Want to make a wechat game for answering questions? Reading this article is enough
- 【无标题】安装依赖报错:Refusing to install package with name “***“ under a package
- Detailed explanation of PDB symbol library files
- 3个最佳实践助力企业改善供应链安全
- Weserver Publishing Map Service
猜你喜欢

Force buckle: merging two ordered linked lists

3个最佳实践助力企业改善供应链安全

Learn from the official motor and BLDC control strategies, and make money as soon as you learn

System.currentTimeMillis() 和 System.nanoTime() 哪个更快?大部分人都会答错!

Cvpr2022 | reexamine pooling: your receptive field is not the best

使用 Gerrit + Zadig 实现主干开发主干发布(含字节飞书实践)
![[graduation season] it's worth it all the way over the past four years -- advice from the senior students](/img/26/d6363603ff57730970497789a05265.png)
[graduation season] it's worth it all the way over the past four years -- advice from the senior students

Pod security policy (PSP)

Win32 Tetris (essential for learning MFC)

Korean AI team plagiarizes the shock academic world! One tutor with 51 students, or plagiarism recidivist
随机推荐
Cvpr2022 | a convnet for the 2020s & how to design neural network Summary
Mirror vulnerability scanner: trivy
Shell judges whether the command is executed successfully
Huawei machine learning service speech recognition function enables applications to paint "sound" and color
Imile uses Zadig's multi cloud environment to deploy thousands of times a week to continuously deliver global business across clouds and regions
华为机器学习服务语音识别功能,让应用绘“声”绘色
WinDbg common commands
记一次 .NET 某物管后台服务 卡死分析
Create an API rapid development platform, awesome!
CVPR上百人中招新冠,emoji成“呈堂证供”,M2 MBP被曝硬盘降速,今日更多大新闻在此...
leetcode 903. Effective arrangement of Di sequences
Design of commodity search engine recommendation system
商品搜索引擎—推荐系统设计
Cvpr2022 𞓜 thin domain adaptation
OpenSSL certificate tool user manual
想做个答题类的微信小游戏?读这篇文章就够了
Xiaobai learns MySQL - incremental statistical SQL requirements - windowing function scheme
The role of each part of Neural Network & thoroughly understand neural network
Write it down once Net analysis of a property management background service stuck
C language character function