当前位置:网站首页>An error occurs when installing MySQL: could not create or access the registry key needed for the

An error occurs when installing MySQL: could not create or access the registry key needed for the

2022-07-06 19:10:00 Ham235XueBi

stay cmd In the implementation of mysqld --initialize -insecure --user=mysql Statement error
 Insert picture description here
terms of settlement : Enter the path C:\Window\System32, find cmd.exe, Run in administrator mode .

my.ini file :

[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=F:\mysql\mysql-5.7.24-winx64\mysql-5.7.24-winx64

# Set up mysql Database data storage directory
datadir=F:\mysql\mysql-5.7.24-winx64\mysql-5.7.24-winx64\data

# Maximum connections allowed
max_connections=200

# 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

原网站

版权声明
本文为[Ham235XueBi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061117071978.html