首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Mysql初始化数据库错误

Mysql初始化数据库错误
EN

Stack Overflow用户
提问于 2018-04-02 17:53:55
回答 1查看 5.7K关注 0票数 3

初始化数据库错误的

代码语言:javascript
复制
Error Log 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\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\MySQL\MySQL Server 5.7\share\charsets\Index.xml' file
2018-04-02T09:44:47.468292Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-04-02T09:44:47.468337Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-04-02T09:44:47.468371Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-04-02T09:44:47.468381Z 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-02T09:44:47.469610Z 0 [ERROR] Aborting
Process for mysqld, with ID 11812, 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
EN

回答 1

Stack Overflow用户

发布于 2018-05-15 18:14:38

当选定的端口已经在使用中时,我遇到了这个问题。更改端口(或停止该端口上的现有服务)允许我从此处继续。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49609045

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档