mysql installer 8.0.11 Web社区拒绝初始化数据库

时间:2018-07-21 18:08:32

标签: mysql

我正在尝试使用mysql installer(web)安装mysql,但是到了

Apply Configuration -> initialising Database

它停止说,

  

MySql服务器8.0.11的配置失败。

我在“日志”选项卡上进行了检查,这是与初始化数据库部分有关的内容...

Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.11...
Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on...
2018-07-21T17:38:19.967888Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2018-07-21T17:38:19.968016Z 0 [ERROR] [MY-011071] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
2018-07-21T17:38:19.968163Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-07-21T17:38:19.968386Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 6744, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.11.
Database initialization failed.
Ended configuration step: Initializing Database

1 个答案:

答案 0 :(得分:0)

这也发生在我身上,这是一个错误mysql.com thread

我已解决该问题,下载完整版本,您将不会有任何问题:)

enter image description here

或其他方法转到 my.ini ,然后更改

lower_case_table_names=0.0

lower_case_table_names=0