当前位置:网站首页>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 .

边栏推荐
- Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist
- Research on multi model architecture of ads computing power chip
- 学会了selenium 模拟鼠标操作,你就可以偷懒点点点了
- [open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes
- Red team Chapter 10: ColdFusion the difficult process of deserializing WAF to exp to get the target
- Tutorial on the principle and application of database system (002) -- MySQL installation and configuration: MySQL software uninstallation (Windows Environment)
- 运动捕捉系统原理
- Telecommuting experience? Let's introduce ourselves ~ | community essay solicitation
- Origin2018安装与使用(整理中)
- FPN网络详解
猜你喜欢

投稿开奖丨轻量应用服务器征文活动(5月)奖励公布

Tutorial on principles and applications of database system (006) -- compiling and installing MySQL 5.7 (Linux Environment)
![[open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes](/img/73/98e4847783be26d86d147425ce3ecd.jpg)
[open source data] open source data set for cross modal (MRI, Meg, eye movement) human spatial memory research based on virtual reality scenes

She is the "HR of others" | ones character

Tutorial on principles and applications of database system (004) -- MySQL installation and configuration: resetting MySQL login password (Windows Environment)

EndeavourOS移动硬盘安装

学会了selenium 模拟鼠标操作,你就可以偷懒点点点了

ADS算力芯片的多模型架构研究

从大湾区“1小时生活圈”看我国智慧交通建设

制造业数字化转型究竟是什么
随机推荐
Do280 management application deployment - pod scheduling control
Which MySQL functions are currently supported by tablestore in table storage?
Défaillance lors du démarrage de la machine virtuelle VMware: le poste de travail VMware n'est pas compatible avec hyper - V...
vim用户自动命令示例
How to use MySQL language for row and column devices?
Nuxt. JS data prefetching
UML tourism management system "suggestions collection"
IM即时通讯开发实现心跳保活遇到的问题
Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie
Talking from mlperf: how to lead the next wave of AI accelerator
Go 语言怎么使用对称加密?
EndeavourOS移动硬盘安装
Is it reliable to open an account on flush with mobile phones? Is there any potential safety hazard
There will be a gap bug when the search box and button are zoomed
【观察】数字化时代的咨询往何处走?软通咨询的思与行
Idea start command line is too long problem handling
C#/VB. Net merge PDF document
Principes et applications du système de base de données (006) - - compilation et installation de MySQL 5.7 (environnement Linux)
数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
VMware virtual machine failed during startup: VMware Workstation is incompatible with hyper-v