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

边栏推荐
- What is the digital transformation of manufacturing industry
- 【Hot100】17. Letter combination of telephone number
- 【Hot100】19. Delete the penultimate node of the linked list
- [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
- ABAP call restful API
- Go 语言源码级调试器 Delve
- 怎麼用MySQL語言進行行列裝置?
- Smart Party Building: faith through time and space | 7.1 dedication
- DO280管理应用部署--pod调度控制
- She is the "HR of others" | ones character
猜你喜欢

DO280管理应用部署--pod调度控制

电脑屏幕变色了怎么调回来,电脑屏幕颜色怎么改

Sales management system of lightweight enterprises based on PHP

制造业数字化转型究竟是什么

【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和

接口测试框架中的鉴权处理

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

process. env. NODE_ ENV
![[nodemon] app crashed - waiting for file changes before starting...解决方法](/img/ee/9830afd86e092851a2a906cb994949.png)
[nodemon] app crashed - waiting for file changes before starting...解决方法

Is the programmer's career really short?
随机推荐
[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
Huawei issued hcsp-solution-5g security talent certification to help build 5g security talent ecosystem
[daily question] 1175 Prime permutation
Idea start command line is too long problem handling
Endeavouros mobile hard disk installation
How long will it take to achieve digital immortality? Metacosmic holographic human avatar 8i
DO280管理应用部署--pod调度控制
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
【Hot100】20. Valid parentheses
电脑照片尺寸如何调整成自己想要的
Principle of SSM framework
高端程序员上班摸鱼指南
UML tourism management system "suggestions collection"
从 MLPerf 谈起:如何引领 AI 加速器的下一波浪潮
Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
How does go use symmetric encryption?
Programming examples of stm32f1 and stm32subeide - production melody of PWM driven buzzer
接口测试框架中的鉴权处理
分享在大疆DJI(深圳总部)工作的日常和福利
Go 语言错误处理为什么更推荐使用 pkg/errors 三方库?