当前位置:网站首页>MySQL 8.0 installation free configuration method
MySQL 8.0 installation free configuration method
2022-06-13 02:56:00 【Knowing and knowing】
mysql 8.0 Installation free configuration method
For different operating systems ,MySQL Corresponding versions are provided . stay Windows Under the operating system ,MySQL The database installation package is divided into graphical interface installation and installation free installation . The two packages are installed differently , The configuration is also different . The graphical interface installation package has a complete installation wizard , Easy to install and configure . The installation free installation package can be directly decompressed and used , But it is inconvenient to configure . The article mainly introduces in detail mysql 8.0.26 Installation free configuration method
1. download MySQL Compressed package
Official download address :https://dev.mysql.com/downloads/mysql/
2. Unzip to the location you want to install

3. establish my.ini Configure the file and move it to the directory to be installed

4. open my.ini File edit configuration information
Reference configuration :
[mysql]
# Set up mysql Client default character set
default-character-set=utf8
[mysqld]
# Set up 3306 port
port =3306
# Set installation directory
basedir=E:\MySQL\mysql-8.0.26-winx64
# Set the data storage directory
datadir=E:\MySQL\mysql-8.0.26-winx64\data
# Maximum connections allowed
max_connections=200
# When you create a new table, you will use the default storage engine
default-storage-engine=INNODB
Close after save my.ini file
5. Initialize the database and install 、 Login database
1). Enter the first bin Catalog , Open a command prompt as an administrator (cmd), Initialize database
mysqld --initialize --console
Pictured :

Remember the password generated in the diagram , This is a randomly generated initial password .
2). mount this database
mysql --install

There will be more directories data Folder 
3). Start database , And log in with the initial password
// start-up
net start mysql
Pictured :
4). Change the password to complete the installation
Use SQL Statement modification , For example, change the password to abcd
ALTER USER 'root'@'localhost' IDENTIFIED BY 'abcd';
Exit after modification :
exit;
And then log back in , Test for successful installation .
边栏推荐
- mysql索引
- Ijkplayer source code - remuxing
- Node uses post to request req Pit with empty body
- Image classification system based on support vector machine (Matlab GUI interface version)
- Uni app Foundation
- 专业的数据库管理软件:Valentina Studio Pro for Mac
- 遍历数组,删除某元素,直到删除为止
- Linked list: adding numbers in the linked list
- Ijkplayer source code - setting options
- vant实现移动端的适配
猜你喜欢
![[data analysis and visualization] key points of data mapping 7- over mapping](/img/ae/d4e251b37ec4857c99f738ca981092.jpg)
[data analysis and visualization] key points of data mapping 7- over mapping

Linked list: orderly circular linked list
![[life science] DNA extraction of basic biological experiments](/img/84/c1968c2c08feab44b14a529420eea9.jpg)
[life science] DNA extraction of basic biological experiments

Code d'initialisation de l'arbre binaire

Keil removes annoying st link update tips

Keil去掉烦人的ST-Link更新提示
![[data analysis and visualization] key points of data drawing 6- too many data groups](/img/68/564e289a2fa54d65437877d16faefb.jpg)
[data analysis and visualization] key points of data drawing 6- too many data groups

Detailed explanation of handwritten numeral recognition based on support vector machine (Matlab GUI code, providing handwriting pad)

Node uses post to request req Pit with empty body

Summary of the latest IOS interview questions in June 2020 (answers)
随机推荐
Change tax for 2
Flutter reports an error type 'Int' is not a subtype of type 'string' wonderful experience
HEAP[xxx.exe]: Invalid address specified to RtlValidateHeap( 0xxxxxx, 0x000xx)
wx.createSelectorQuery()在components获取Dom节点的使用
Hash table: whether alien languages are sorted
Linked list: palindrome linked list
Ijkplayer source code --- decode
PCR validation of basic biological experiments in [life sciences]
Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)
Svg filter effect use
专业的数据库管理软件:Valentina Studio Pro for Mac
MySQL index
Linked lists: rearranging linked lists
Radio design and implementation in IVI system
Prometheus node_ Exporter installs and registers as a service
AAR packaging and confusion
Vs Code modify default terminal_ Modify the default terminal opened by vs Code
Introduction to Kestrel_ Introduction to kestrel web server
Change the topic of change tax
專業的數據庫管理軟件:Valentina Studio Pro for Mac