安装MySQL
Download .zip file from MySQL website.
Create a file named my.ini, then Configure my.ini file.
[mysqld]
basedir = D:\mysql-8.0.24-winx64
datadir = D:\mysql-8.0.24-winx64\data
port = 3306
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
character-set-server = utf8mb4
performance_schema_max_table_instances = 600
table_definition_cache = 400
table_open_cache = 256
[mysql]
default-character-set = utf8mb4
[client]
default-character-set = utf8mb4
Don't create folder /data
Add environment paths, both base and /bin need to be added.
- Run cmd as Administrator
The data folder and other files will be created. No password generated for user root.
The whole process will be logged in xxx.err in the data folder.install
- start service
- Change password