当前位置:网站首页>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 .
边栏推荐
- In the era of super video, what kind of technology will become the base?
- Im instant messaging develops a message delivery scheme for 10000 people
- Embedded development: five revision control best practices
- 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
- Go language source level debugger delve
- 数据库系统原理与应用教程(002)—— MySQL 安装与配置:MySQL 软件的卸载(windows 环境)
- 分享在大疆DJI(深圳总部)工作的日常和福利
- Problèmes rencontrés dans le développement de la GI pour maintenir le rythme cardiaque en vie
- Crypto Daily: Sun Yuchen proposed to solve global problems with digital technology on MC12
- The sharp drop in electricity consumption in Guangdong shows that the substitution of high-tech industries for high-energy consumption industries has achieved preliminary results
猜你喜欢
芯片供应转向过剩,中国芯片日产增加至10亿,国外芯片将更难受
Comment win11 définit - il les permissions de l'utilisateur? Win11 comment définir les permissions de l'utilisateur
IM即时通讯开发实现心跳保活遇到的问题
Summer Challenge harmonyos canvas realize clock
圈铁发音,动感与无噪强强出彩,魔浪HIFIair蓝牙耳机测评
StoneDB 为国产数据库添砖加瓦,基于 MySQL 的一体化实时 HTAP 数据库正式开源!
Pico, do you want to save or bring consumer VR?
毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?
【SQL语句】请问这边为什么select出了两个上海,查询出了不同的count我想让他变成一个上海,count只显示一个总和
Im instant messaging develops a message delivery scheme for 10000 people
随机推荐
Tutorial on principles and applications of database system (006) -- compiling and installing MySQL 5.7 (Linux Environment)
How to write good code - Defensive Programming Guide
实现数字永生还有多久?元宇宙全息真人分身#8i
圈铁发音,动感与无噪强强出彩,魔浪HIFIair蓝牙耳机测评
表格存储中tablestore 目前支持mysql哪些函数呢?
The picgo shortcut is amazing. This person thinks exactly the same as me
Programming examples of stm32f1 and stm32subeide - production melody of PWM driven buzzer
红队第10篇:coldfusion反序列化过waf改exp拿靶标的艰难过程
Sweden announced its decision to exclude Huawei 5g equipment, but Huawei has successfully found a new way out
Motion capture system for apple picking robot
数据库系统原理与应用教程(004)—— MySQL 安装与配置:重置 MySQL 登录密码(windows 环境)
Use Tencent cloud to build a map bed service
超视频时代,什么样的技术会成为底座?
Authentication processing in interface testing framework
周少剑,很少见
Principle of SSM framework
揭秘慕思“智商税”:狂砸40亿搞营销,发明专利仅7项
UML tourism management system "suggestions collection"
[daily question] 1175 Prime permutation
Zabbix2.2监控之系统及应用日志监控报警