当前位置:网站首页>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';
边栏推荐
- [Yunzhou said live room] - digital security special session will be officially launched tomorrow afternoon
- In depth analysis of mobilenet and its variants
- White paper - Intel and Ashling, a well-known risc-v tool provider, strive to expand multi platform risc-v support
- 微信小程序之input调整
- Go write file permission WriteFile (filename, data, 0644)?
- kubernetes日志监控系统架构详解
- 栈和队列的基本使用
- Gary Marcus wrote: three perspectives from linguists that AI researchers need to know
- DTU上报的数据值无法通过腾讯云规则引擎填入腾讯云数据库中
- PHP receiving and sending data
猜你喜欢

利用XtraDiagram.DiagramControl进行流程图形的绘制和控制

AGCO AI frontier promotion (6.23)

白皮书丨英特尔携手知名RISC-V工具提供商Ashling,着力扩展多平台RISC-V支持

How deci and Intel can achieve up to 16.8x throughput improvement and +1.74% accuracy improvement on mlperf

边缘和物联网学术资源

【深入理解TcaplusDB技术】一键安装Tmonitor后台
Detailed explanation of kubernetes log monitoring system architecture

栈和队列的基本使用

Vulnhub target os-hacknos-1

Monitor the cache update of Eureka client
随机推荐
Develop a powerful tool for increasing efficiency - vscode plug-in sharing in 2022
从类、API、框架三个层面学习如何设计可复用软件的学习心得
Interrupt and polling
One way linked list implementation -- counting
Actual combat | how to make a slam track truth acquisition device?
微信小程序之获取php后台数据库转化的json
MIT 6.031 reading5: version control learning experience
白皮书丨英特尔携手知名RISC-V工具提供商Ashling,着力扩展多平台RISC-V支持
栈和队列的基本使用
Error when Oracle enters sqlplus
leetcode:242. Valid Letter ectopic words
leetcode:42.接雨水
MySQL single database and table splitting using MYCAT
Quartus II 13.1 安装步骤详解
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
『忘了再学』Shell流程控制 — 39、特殊流程控制语句
[deeply understand tcapulusdb technology] tmonitor module architecture
Multi-Camera Detection of Social Distancing Reference Implementation
Proofs of Elsevier Elsevier Journal (Neptune Neptune) (problems encountered: latex remove the chapter number)
How to write vite plug-ins




