当前位置:网站首页>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 了 
边栏推荐
- Jinshan cloud team shared | 5000 words to understand how Presto matches with alluxio
- Encyclopedia of scala operators
- HTTP Caching Protocol practice
- Using interceptor and cache to complete interface anti brushing operation
- Optimization steps of SQL statements (II) -- MySQL statement optimization
- VM332 WAService.js:2 Error: _vm.changeTabs is not a function报错
- 一个小工具可以更快的写爬虫
- Practice and exploration of vivo live broadcast application technology
- 【Rust翻译】从头实现Rust异步执行器
- ice, protobuf ,thrift -- 笔记
猜你喜欢

看似简单的光耦电路,实际使用中应该注意些什么?

Comment la passerelle BACnet / IP recueille - t - elle les données du système central de contrôle des bâtiments?

2021 VDC: technological architecture evolution of vivo Internet service for 100 million users | PPT download attached

My MVVM open source project "travel epidemic prevention app" has been released

What is a consistent hash? What scenarios can it be applied to?

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

Libuv框架echo-server.c源码详解(TCP部分)

"Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?

Practice and exploration of vivo live broadcast application technology

From the beginning of redis learning to take-off, this article is all for you
随机推荐
最后的二十九天
Hungry for a long time, the brain will enter the "power saving mode"! Your senses are weakened and you can't see clearly
Techo day Tencent technology open day, June 28 online waiting for you!
[online tutorial] official iptables tutorial -- learning notes 1
在idea中,get和set方法爆红可能是没有安装Lombok插件
Comprehensive analysis of real enterprise software testing process
实时数据库 - 笔记
同花顺网上开户安全吗
Reading notes - MySQL technology l act: InnoDB storage engine (version 2)
Libuv框架echo-server.c源码详解(TCP部分)
Overview, implementation and use of CRC32
Rust FFI 编程 - libc crate
【Rust翻译】从头实现Rust异步执行器
@RequestParam
[rust translation] implement rust asynchronous actuator from scratch
MySQL installation steps - installing MySQL on Linux (3)
Top 25 most popular articles on vivo Internet technology in 2021
编译原理期末复习
实现这个 issue 得700块钱人民币,有人做嘛?
自律挑战30天