当前位置:网站首页>Mysql57 zip file installation
Mysql57 zip file installation
2022-06-28 07:11:00 【Seele_ one thousand and eighteen】
Reprinted from :https://www.cnblogs.com/guardwhy/p/14906539.html
MySQL5.7 install
1.1-Windows Installation on MySQL
1、 Go to the official download address
Download and install MySQL5.7 edition ::https://dev.mysql.com/downloads/mysql/
2. Select direct download 
3. Unpack the installation
3.1、 Will download zip Extract the package to the corresponding directory , Here I put the unzipped folder in E:\Develop\MySQL-5.7.30 Next , Unzip the file as shown in the figure 
3.2、 Create... Under this folder my.ini The configuration file , edit my.ini Configure the following basic information :
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3306 port
port = 3306
# Set up mysql Installation directory
basedir=E:\\Develop\\MySQL-5.7.30
# Set up mysql Database data storage directory (MySQL8.0+ The following configuration is not required , The system can be generated by itself , Otherwise, it is possible to report an error )
datadir=E:\\Develop\\WorkPlace\\SqlData
# Maximum connections allowed
max_connections=20
# The character set used by the server defaults to 8 Bit coded latin1 Character set
character-set-server=utf8
# The default storage engine that will be used when creating a new table
default-storage-engine=INNODB
3.3、 Open as administrator cmd Command line tools , Entry directory :
E:
cd E:E:\Develop\MySQL-5.7.30
Initialize database : mysqld --initialize --console

3.4、 function mysqld install, If prompt “Service successfully installed.” Indicates successful installation .
4. Change Password
4.1、 perform net start mysql start-up MySQL
4.2、 function mysql -u root -p Then enter the initial password according to the prompt , Enter and log in MySQL.
4.3、 The format of the password change command is
Modify the format :set password for [email protected] = password(‘newPassword’);
Password set to :set password for [email protected] = password(‘root’);
Input exit Back carriage return , Run again mysql -u root -p Then you can log in with your new password .
5. Configure environment variables
5.1、 Right click this computer >> Advanced system setup >> environment variable , New system variable MYSQL_HOME, The variable value is installation MySQL Root directory :
5.2、 Edit system variables Path >> newly build >> take %MYSQL_HOME%\bin Add to trailing line >> determine .
5.3、 After configuration , No entry MySQL The installation directory , After opening the command line as an administrator , You can log in directly MySQL 了 
边栏推荐
- 一个小工具可以更快的写爬虫
- 微信小程序分页功能,下拉刷新功能,直接干货拿来就用
- [rust translation] implement rust asynchronous actuator from scratch
- This keyword details
- Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
- Optimization steps of SQL statements (II) -- MySQL statement optimization
- [online tutorial] official iptables tutorial -- learning notes 1
- Sword finger offer II 091 Paint the house
- Top 25 most popular articles on vivo Internet technology in 2021
- Yesterday, I went to a large factory for an interview and asked me to do four arithmetic operations. Fortunately, I am smart enough
猜你喜欢

金山云团队分享 | 5000字读懂Presto如何与Alluxio搭配

mysql57 zip文件安装

Last 29 days

Pfizer's new Guankou medicine has entered the Chinese market, and the listing of relevant products of domestic pharmaceutical enterprises is just around the corner

hack the box:RouterSpace题解

vite2.9 中指定路径别名

Niubi 666, this project makes web page making as simple as building blocks

Pytorch RNN learning notes

Floating and positioning

VM332 WAService. js:2 Error: _ vm. Changetabs is not a function
随机推荐
Last 29 days
extern “C“概述
一个小工具可以更快的写爬虫
OPC 协议认识
CRC32概述以及实现和使用
The code is correct, and the rendering page does not display the reason
R 和 rgl 绘制 3D 结
全方位透析真实企业软件测试流程
UPC -- expression evaluation
声网 VQA:将实时互动中未知的视频画质用户主观体验变可知
普歌 -- 单例模式
Top 25 most popular articles on vivo Internet technology in 2021
@RequestParam
[C language] detailed explanation of C language to obtain array length
[c #] [reprint]furion frame address and tutorial address
What if the applet page is set to 100% height or left blank?
[rust daily] May 24, 2020 rush, rocket, Mun, caspin
【Rust日报】 2020-04-23 Rust 1.43.0 发布
Extern "C" overview
This keyword details