当前位置:网站首页>Tutorial on the principle and application of database system (001) -- MySQL installation and configuration: installation of MySQL software (Windows Environment)
Tutorial on the principle and application of database system (001) -- MySQL installation and configuration: installation of MySQL software (Windows Environment)
2022-07-01 16:32:00 【Rsda DBA_ WGX】
Database system principle and Application Tutorial (001)—— MySQL Installation and configuration :MySQL Software installation (windows Environmental Science )
Catalog
One 、 download MySQL Software
1、 Get into MySQL Official website ( website :https://www.mysql.com/), single click DOWNLOADS, As shown in the figure below .

2、 At the bottom of the page 【DOWNLOADS】 Select... From the area 【MySQL Community Server】, As shown in the figure below .

3、 Click... In the pop-up page 【Archives】, As shown in the figure below .

4、 Choose... From the pop-up page MySQL Version number of (5.5.58)、 Type of operating system (windows) And the version of the operating system ( Select as needed 32 Bit version or 64 Bit version ), If you choose ALL Then all versions are displayed . Select download here 64 A version of the MySQL, As shown in the figure below .

single click 【Download】 Button to complete the software download .
Two 、 install MySQL
1、 Double click the downloaded installation file , The installation wizard as shown in the following figure pops up .

2、 single click 【Next】 Button , Show user license agreement window , As shown in the figure below .

3、 Choose 【I accept the terms in the License Agreement】 Options , single click 【Next】 Button , Pop up... As shown in the figure below 【 Choose the installation type 】 window .

4、 single click 【Typical】, Choose a typical installation , Pop up... As shown in the figure below 【 Ready to start installation MySQL】 Interface , single click 【Install】 Start installation .

5、 installation is complete . If checked, 【Launch the MySQL Instance Configuration Wizard】 Options , single click 【Finish】 Then pop up configuration MySQL The wizard . otherwise , Then end the installation , You can use manual configuration MySQL.

3、 ... and 、 To configure MySQL
MySQL After installation , Choose 【Launch the MySQL Instance Configuration Wizard】 Options , single click 【Finish】 Then pop up configuration MySQL The wizard , Yes MySQL To configure .
1、MySQL The configuration wizard is shown in the following figure .

2、 single click 【Next】 Button , The configuration type window pops up , Select detailed configuration (Detailed Configuration), As shown in the figure below .

3、 single click 【Next】 Button , Pop up options MySQL Server type window , Select the developer type (Developer Machine), As shown in the figure below .

MySQL There are three types of servers :
Developer type (Developer Machine): Development use , Less memory required .
Server type (Server Machine): As a server , More memory required .
special MySQL The server (Dedicate MySQL Server Machine): Specifically used as a database server , The most memory required .
4、 single click 【Next】 Button , The select database usage window pops up , Choose a multi-functional database (Multifunctional Database), As shown in the figure below .

There are three uses of database :
Multi functional database (Multifunctional Database): Use at the same time InnoDB Storage engine and MyISAM Storage engine .
Transaction database (Transaction Database Only): Support transaction processing .
Non transactional databases (Non-Transaction Database Only): Transaction not supported , Ban InnoDB Storage engine .
5、 single click 【Next】 Button , The select tablespace location window pops up , Select the default location ( The installation path ), As shown in the figure below .

6、 single click 【Next】 Button , The set concurrent connection window pops up , Select manual settings (Manual Setting), As shown in the figure below .

There are three kinds of concurrent connection settings :
Decision support (Decision Support,DSS/OLAP): The amount of concurrency is small .
On line transaction processing (Online Transaction Processing,OLTP): The amount of concurrency is large .
Manual settings (Manual Setting): Custom concurrency .
7、 single click 【Next】 Button , The configure network window pops up , Set the port number (3306) Etc , As shown in the figure below .

Port Number( Port number ):3306, You can change it to another port number .
Add firewall exception for this port( Register this port number in the firewall ): Check this option , Allow remote computer login MySQL.
Enable Strict Mode( The standard model ): Strictly check the input data .
8、 single click 【Next】 Button , The select character set window pops up , Select the default character set encoding set manually (Manual Selected Default Character Set/Collation): Manually select the character set Latin1, As shown in the figure below .

There are three options for character set selection :
Standard character set (Standard Character Set): The default character set is Latin1
Support for multiple languages (Best Support For Multilingualism): The default character set is utf8
Manually set default character set encoding (Manual Selected Default Character Set/Collation): Manually select the character set
9、 single click 【Next】 Button , Pop up configuration windows Service window , As shown in the figure below .

choice Install As Windows Service: take MySQL Installed as windows service .
Service Name:MySQL service name , The default is MySQL.
choice Launch the MySQL Server Automatically: Auto start MySQL service .
choice Include Bin Directory in Windows PATH: take MySQL Of Bin Directory added to environment variables .
10、 single click 【Next】 Button , The configuration type window pops up , Select detailed configuration (Detailed Configuration), As shown in the figure below .

choice Modify Security Setting: Select this option , by MySQL Set login password . If you do not select this option , be MySQL You don't need a password to log in .
Enable root access from remote machines: Whether to allow root The user logs in on another computer .
Create An Anonymous Account: Create an anonymous user , The user can connect to the database , But you can't manipulate the data .
11、 single click 【Next】 Button , Enter the ready to execute window , As shown in the figure below .

12、 single click 【Execute】 Button ,MySQL It will be configured according to the settings of the configuration wizard , single click 【Finish】 Complete the configuration , As shown in the figure below .

Four 、 test
open windows Command line window , Use root The user login MySQL, As shown in the figure below .

边栏推荐
- Go 语言源码级调试器 Delve
- 【Hot100】17. Letter combination of telephone number
- Principle of SSM framework
- [daily question] 1175 Prime permutation
- Analysis of PostgreSQL storage structure
- Apple's self-developed baseband chip failed again, which shows Huawei Hisilicon's technological leadership
- 从大湾区“1小时生活圈”看我国智慧交通建设
- 数据库系统原理与应用教程(001)—— MySQL 安装与配置:MySQL 软件的安装(windows 环境)
- How does go use symmetric encryption?
- 红队第10篇:coldfusion反序列化过waf改exp拿靶标的艰难过程
猜你喜欢

动作捕捉系统用于苹果采摘机器人

What is the digital transformation of manufacturing industry

Huawei issued hcsp-solution-5g security talent certification to help build 5g security talent ecosystem

【观察】数字化时代的咨询往何处走?软通咨询的思与行

Submission lottery - light application server essay solicitation activity (may) award announcement

In the era of super video, what kind of technology will become the base?
![[daily news]what happened to the corresponding author of latex](/img/0f/d19b27dc42124c89993dee1bada838.png)
[daily news]what happened to the corresponding author of latex

【Hot100】17. 电话号码的字母组合
![[observation] where is the consulting going in the digital age? Thoughts and actions of softcom consulting](/img/82/3bb382893682a30e8af130365ec4ef.jpg)
[observation] where is the consulting going in the digital age? Thoughts and actions of softcom consulting

Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
随机推荐
FPN network details
When ABAP screen switching, refresh the previous screen
How to adjust the size of computer photos to what you want
Tutorial on the principle and application of database system (003) -- MySQL installation and configuration: manually configure MySQL (Windows Environment)
Origin2018 installation and use (sorting)
使用腾讯云搭建图床服务
FPN网络详解
Which MySQL functions are currently supported by tablestore in table storage?
laravel的模型删除后动作
数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
Guide for high-end programmers to fish at work
數據庫系統原理與應用教程(006)—— 編譯安裝 MySQL5.7(Linux 環境)
Red team Chapter 10: ColdFusion the difficult process of deserializing WAF to exp to get the target
ssm框架原理
【Hot100】17. Letter combination of telephone number
idea启动Command line is too long问题处理
部门来了个拿25k出来的00后测试卷王,老油条表示真干不过,已被...
DO280管理应用部署--pod调度控制
Does 1.5.1 in Seata support mysql8?
Do280 management application deployment - pod scheduling control