当前位置:网站首页>MySQL installation
MySQL installation
2022-06-23 14:09:00 【slom_ fxt】
One 、 Download the unzip file ( You can also download the installed version on the official website )
1. Go to the official website to download or go to https://www.mysql.com/downloads/ download
Click on the following
2. Locate the extracted file
3. Download the compressed file ( Download as needed )
4. Unzip in the directory you want to install
Two 、 environment variable : To configure MySQL Under the table of contents bin route
3、 ... and 、 Configure initialized profile my.ini
[mysqld] # Set up 3306 port port=3306 # Set up mysql Installation directory basedir=D:\\mysql-8.0.28 # Remember to use double slashes here \\, I will make a mistake here , But look Other people's tutorial , Some are single slashes . Try it yourself # Set up mysql Database data storage directory datadir=D:\\mysql-8.0.28\\data # Ditto here # Maximum connections allowed max_connections=200 # Number of connection failures allowed , This is to prevent someone from trying to attack the database system from the host max_connect_errors=10 # The character set used by the server defaults to UTF8 character-set-server=utf8 # The default storage engine that will be used when creating a new table default-storage-engine=INNODB # By default “mysql_native_password” Plug in authentication default_authentication_plugin=mysql_native_password [mysql] # Set up mysql Client default character set default-character-set=utf8 [client] # Set up mysql The default port and character set used by the client when connecting to the server port=3306 default-character-set=utf8
4. Load profile
1. Run as administrator cmd, Direct input mysqld --initialize --console perform , After execution , There is a jargon Atemporary password is generated for [email protected]: gVQabdEtk4+r
@localhost: After that is root User's initial password , This password will be used later
2. stay cmd In the implementation of mysqld --install MySQL
3. Start the service net start MySQL
4. Login service MySQL -uroot -pgVQabdEtk4+r
5. Change Password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
边栏推荐
- How to use sed -i command
- [deeply understand tcapulusdb technology] tmonitor background one click installation
- 【深入理解TcaplusDB技术】单据受理之表管理
- 如何正确计算导入Excel的行数(POI/NPOI)
- AI 参考套件
- Flex attribute of wechat applet
- 串口、COM、UART、TTL、RS232(485)区别详解
- 边缘和物联网学术资源
- [in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor
- 微信小程序之获取php后台数据库转化的json
猜你喜欢

Drop down menu scenario of wechat applet

Loss, duplication and backlog of message queues

深入剖析MobileNet和它的变种
![[Course preview] AI meter industry solution based on propeller and openvino | industrial meter reading and character detection](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[Course preview] AI meter industry solution based on propeller and openvino | industrial meter reading and character detection

智能数字看板解决方案

Shell process control - 39. Special process control statements

AI 参考套件

构建英特尔 DevCloud
![[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor](/img/6d/8b1ac734cd95fb29e576aa3eee1b33.png)
[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor

微信小程序之flex属性
随机推荐
微信小程序之flex属性
Drop down menu scenario of wechat applet
Scope of groovy
微信小程序之input前加图标
微信小程序之从底部弹出可选菜单
[deeply understand tcapulusdb technology] one click installation of tmonitor background
CRMEB 二开短信功能教程
爱思唯尔-Elsevier期刊的校稿流程记录(Proofs)(海王星Neptune)(遇到问题:latex去掉章节序号)
Face registration, unlock, respond, catch all
微信小程序之获取php后台数据库转化的json
智能数字看板解决方案
Input adjustment of wechat applet
OpenVINOTM 2022.1中AUTO插件和自动批处理的最佳实践
火绒安全与英特尔vPro平台合作 共筑软硬件协同安全新格局
微信小程序之input调整
kubernetes日志监控系统架构详解
Kali use
Flutter Clip剪裁组件
理解ADT与OOP
Groovy map operation




