MySQL初始化数据库

时间:2018-04-22 12:21:29

标签: mysql

我正在尝试安装MySQL Server 5.7但是当它进入初始化数据库时它失败了,我无法弄清楚原因。

这是日志的初始化数据库部分:

Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...

Starting process for MySQL Server 5.7.21...
Starting process with command: C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --console --initialize-insecure=on...
mysqld: Character set '0.0' is not a compiled character set and is not specified in the 'C:\Program Files (x86)\MySQL\MySQL Server 5.7\share\charsets\Index.xml' file
2018-04-22T12:15:57.415106Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-04-22T12:15:57.415160Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-04-22T12:15:57.415218Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-04-22T12:15:57.415233Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-04-22T12:15:57.417108Z 0 [ERROR] Aborting
Process for mysqld, with ID 3188, was run successfully and exited with code 1.
Failed to start process for MySQL Server 5.7.21.
Database initialization failed.
Ended configuration step: Initializing Database

0 个答案:

没有答案