当前位置:网站首页>Tutorial on the principle and application of database system (003) -- MySQL installation and configuration: manually configure MySQL (Windows Environment)
Tutorial on the principle and application of database system (003) -- MySQL installation and configuration: manually configure MySQL (Windows Environment)
2022-07-01 16:23:00 【Rsda DBA_ WGX】
Database system principle and Application Tutorial (003)—— MySQL Installation and configuration : Manual configuration MySQL(windows Environmental Science )
One 、 install MySQL
1、 Double-click the 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 . Cancel 【Launch the MySQL Instance Configuration Wizard】 Options , single click 【Finish】 End installation , Use manual configuration MySQL.

Two 、 Configure environment variables
1、 find MySQL Installation path for , open bin Catalog , hold bin route 【C:\Program Files\MySQL\MySQL Server 5.5\bin】 Copy to clipboard , As shown in the figure below .

2、 Right click on the desktop 【 This computer 】, choice 【 attribute 】, As shown in the figure below .

3、 In the pop-up 【 Set up 】 Window , Input 【 Environmental Science 】, Then select from the drop-down list 【 Edit system environment variables 】, As shown in the figure below .

4、 In the pop-up 【 System attribute 】 In the dialog box , single click 【 environment variable 】 Button , As shown in the figure below .

5、 In the pop-up 【 environment variable 】 Select... In the dialog box 【Path】, And then click 【 edit 】 Button , As shown in the figure below .

6、 In the pop-up 【 Edit environment variables 】 Dialog box, click 【 newly build 】 Button , hold MySQL Of bin Paste the path to the last line , As shown in the figure below .

7、 single click 【 determine 】 Button to complete the configuration of environment variables .
Be careful : After the environment variable configuration is completed, it must be reopened cmd The command line window will take effect .
3、 ... and 、 Install and start MySQL service
1、 Open as administrator windows Command line window , As shown in the figure below .

2、 In the command line window , Type the following command to install MySQL service

3、 Enter the following command to start MySQL service

4、 see MySQL Service information
(1) Right click on the desktop 【 This computer 】, choice 【 management 】, As shown in the figure below .

(2) In the pop-up 【 Computer management 】 Select... In the dialog box 【 Services and Applications 】, And then click 【 service 】, Find MySQL service . You can see MySQL The service information is as follows :(1) name :MySQL;(2) state : Running ;(3) Start type : Automatically .

Four 、 Set up root Login password of the account
After the above steps are set ,root The account has no login password by default . here ,root The account can log in directly , No password required . As shown in the figure below .

by root Set the login password for the account : Use root Account login system , Execute the following command .

Log back in MySQL, have access to root account number , password 【123456】 Login system , As shown in the figure below .

边栏推荐
- Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie
- Comment win11 définit - il les permissions de l'utilisateur? Win11 comment définir les permissions de l'utilisateur
- 【Hot100】20. Valid parentheses
- The picgo shortcut is amazing. This person thinks exactly the same as me
- Huawei issued hcsp-solution-5g security talent certification to help build 5g security talent ecosystem
- 超视频时代,什么样的技术会成为底座?
- Talking from mlperf: how to lead the next wave of AI accelerator
- 从大湾区“1小时生活圈”看我国智慧交通建设
- Stonedb is building blocks for domestic databases, and the integrated real-time HTAP database based on MySQL is officially open source!
- How to adjust the size of computer photos to what you want
猜你喜欢
![[SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum](/img/a4/58b942d1389834069e9a6ec9f8ee0a.png)
[SQL statement] Why do you select two Shanghai and query different counts here? I want it to become a Shanghai, and count only displays a sum

Pico, do you want to save or bring consumer VR?

PostgreSQL 存储结构浅析

She is the "HR of others" | ones character

Learn selenium to simulate mouse operation, and you can be lazy a little bit

芯片供应转向过剩,中国芯片日产增加至10亿,国外芯片将更难受

picgo快捷键 绝了这人和我的想法 一模一样

OJ questions related to complexity (leetcode, C language, complexity, vanishing numbers, rotating array)
![[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

高端程序员上班摸鱼指南
随机推荐
The picgo shortcut is amazing. This person thinks exactly the same as me
Share the daily work and welfare of DJI (Shenzhen headquarters) in Dajiang
Origin2018安装与使用(整理中)
Example of vim user automatic command
动作捕捉系统用于苹果采摘机器人
How to use phpipam to manage IP addresses and subnets
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
红队第10篇:coldfusion反序列化过waf改exp拿靶标的艰难过程
IM即時通訊開發實現心跳保活遇到的問題
韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
Go language source level debugger delve
Which MySQL functions are currently supported by tablestore in table storage?
为国产数据库添砖加瓦,StoneDB 一体化实时 HTAP 数据库正式开源!
Guide for high-end programmers to fish at work
Endeavouros mobile hard disk installation
What is the digital transformation of manufacturing industry
How to use MySQL language for row and column devices?
高端程序员上班摸鱼指南
数据库系统原理与应用教程(006)—— 编译安装 MySQL5.7(Linux 环境)
How does go use symmetric encryption?