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

边栏推荐
- 如何使用phpIPAM来管理IP地址和子网
- Programming examples of stm32f1 and stm32subeide - production melody of PWM driven buzzer
- The picgo shortcut is amazing. This person thinks exactly the same as me
- July 1, 2022 Daily: Google's new research: Minerva, using language models to solve quantitative reasoning problems
- The Department came to a Post-00 test paper king who took out 25K. The veteran said it was really dry, but it had been
- FPN网络详解
- Microservice tracking SQL (support Gorm query tracking under isto control)
- 瑞典公布决定排除华为5G设备,但是华为已成功找到新出路
- Golang爬虫框架初探
- Share the daily work and welfare of DJI (Shenzhen headquarters) in Dajiang
猜你喜欢

瑞典公布决定排除华为5G设备,但是华为已成功找到新出路
![[每日一氵]Latex 的通讯作者怎么搞](/img/0f/d19b27dc42124c89993dee1bada838.png)
[每日一氵]Latex 的通讯作者怎么搞

Tutorial on principles and applications of database system (006) -- compiling and installing MySQL 5.7 (Linux Environment)

Authentication processing in interface testing framework

数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)

EndeavourOS移动硬盘安装

process. env. NODE_ ENV

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

Vscode find and replace the data of all files in a folder

Tutorial on principles and applications of database system (004) -- MySQL installation and configuration: resetting MySQL login password (Windows Environment)
随机推荐
近半年内连获5家“巨头”投资,这家智能驾驶“黑马”受资本追捧
如何使用phpIPAM来管理IP地址和子网
Zabbix2.2 monitoring system and application log monitoring alarm
Red team Chapter 10: ColdFusion the difficult process of deserializing WAF to exp to get the target
UML tourism management system "suggestions collection"
虚拟串口模拟器和串口调试助手使用教程「建议收藏」
怎么用MySQL语言进行行列装置?
How does win11 set user permissions? Win11 method of setting user permissions
Can't global transactions be used when shardingjdbc is used in seate?
There will be a gap bug when the search box and button are zoomed
Pico,是要拯救还是带偏消费级VR?
Solution to the problem that the keypad light does not light up when starting up
程序员职业生涯真的很短吗?
Crypto Daily: Sun Yuchen proposed to solve global problems with digital technology on MC12
Is the programmer's career really short?
Embedded development: five revision control best practices
Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie
Comment utiliser le langage MySQL pour les appareils de ligne et de ligne?
IM即时通讯开发实现心跳保活遇到的问题
【观察】数字化时代的咨询往何处走?软通咨询的思与行