当前位置:网站首页>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 .
边栏推荐
- Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
- 接口测试框架中的鉴权处理
- Why is the pkg/errors tripartite library more recommended for go language error handling?
- StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
- 高端程序员上班摸鱼指南
- 数据库系统原理与应用教程(003)—— MySQL 安装与配置:手工配置 MySQL(windows 环境)
- 瑞典公布决定排除华为5G设备,但是华为已成功找到新出路
- There will be a gap bug when the search box and button are zoomed
- [JetsonNano] [教程] [入门系列] [三] 搭建TensorFlow环境
- Golang爬虫框架初探
猜你喜欢
[observation] where is the consulting going in the digital age? Thoughts and actions of softcom consulting
揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项
圈铁发音,动感与无噪强强出彩,魔浪HIFIair蓝牙耳机测评
vscode 查找 替换 一个文件夹下所有文件的数据
接口测试框架中的鉴权处理
【观察】数字化时代的咨询往何处走?软通咨询的思与行
VMware 虚拟机启动时出现故障:VMware Workstation 与 Hyper-v 不兼容...
【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
Summer Challenge harmonyos canvas realize clock
怎么用MySQL语言进行行列装置?
随机推荐
[daily news]what happened to the corresponding author of latex
Telecommuting experience? Let's introduce ourselves ~ | community essay solicitation
Principes et applications du système de base de données (006) - - compilation et installation de MySQL 5.7 (environnement Linux)
Zabbix2.2监控之系统及应用日志监控报警
Research on multi model architecture of ads computing power chip
ssm框架原理
Nuxt. JS data prefetching
DO280管理应用部署--pod调度控制
Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world
Crypto Daily: Sun Yuchen proposed to solve global problems with digital technology on MC12
Idea start command line is too long problem handling
FPN network details
How to write good code - Defensive Programming Guide
Submission lottery - light application server essay solicitation activity (may) award announcement
毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?
UML tourism management system "suggestions collection"
Where should older test / development programmers go? Will it be abandoned by the times?
PostgreSQL 存储结构浅析
In the past six months, it has been invested by five "giants", and this intelligent driving "dark horse" is sought after by capital
The picgo shortcut is amazing. This person thinks exactly the same as me