当前位置:网站首页>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 .
边栏推荐
- Techniques for collecting stringgrid
- Principle and steps of principal component analysis (PCA)
- Use of OpenCV 12 findcircuits and drawcircuits
- Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)
- Use and arrangement of wechat applet coordinate position interface (I)
- Retrofit easy to use
- Spark UDF instance details
- How to manage the IT R & D department?
- Mp4 playback
- [data and Analysis Visualization] D3 introductory tutorial 2- building shapes in D3
猜你喜欢

Detailed installation tutorial of MATLAB r2019 B-mode ultrasound (complete installation files are attached)

Node uses post to request req Pit with empty body
![[data analysis and visualization] key points of data drawing 9- color selection](/img/76/0d707b3d2446b5cd8002cbc2834c5c.jpg)
[data analysis and visualization] key points of data drawing 9- color selection

Available types in C #_ Unavailable type_ C double question mark_ C question mark point_ C null is not equal to

六款国产飞机专用GPU产品通过鉴定审查

For loop instead of while loop - for loop instead of while loop

Scala implements workcount

Use and arrangement of wechat applet coordinate position interface (I)

Linked list: the first coincident node of two linked lists

Keil去掉烦人的ST-Link更新提示
随机推荐
Keil去掉烦人的ST-Link更新提示
Linked list: palindrome linked list
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
Flutter reports an error type 'Int' is not a subtype of type 'string' wonderful experience
Advanced stair climbing
Bi modal progressive mask attention for fine graded recognition
Radio design and implementation in IVI system
Perfect square
mysql索引
Logiciel professionnel de gestion de base de données: Valentina Studio Pro pour Mac
. Net compact Framework2.0 wince intelligent device development project experience sharing Net drag space advanced
The weight of the input and textarea components of the applet is higher than that of the fixed Z-index
Six special GPU products for domestic aircraft passed the appraisal and review
Svg filter effect use
Introduction to facial expression recognition system - Technical Paper Edition
[data analysis and visualization] key points of data drawing 12- importance of chart notes
Wechat applet coordinate location interface usage (II) map interface
[data analysis and visualization] key points of data drawing 5- the problem of error line