mysql - 在 Windows 7 64 上的 MySQL 服务器 8.0.111 中初始化数据库失败

标签 mysql

我正在尝试在 Windows 7 64 位上创建 MySql Server 版本 8.0.11,我得到了这个:

enter image description here

Here are the logs : 

Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules
Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 5050" protocol=TCP localport=5050

Deleted 2 rule(s).
Ok.


Adding a Windows Firewall rule for MySQL80 on port 5050.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 5050" protocol=TCP localport=5050 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules

Beginning configuration step: Adjusting Windows service
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Updating existing service
Existing service updated
Ended configuration step: Adjusting Windows service

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-02T23:37:38.137575Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2018-07-02T23:37:38.137575Z 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-02T23:37:38.137575Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-07-02T23:37:38.137575Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 6256, 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

如果错误是 MySql 错误或我的 Windows 出现问题,则无法从该日志中找到。

最佳答案

已解决,只是卸载了属于 mysql 的所有内容。重新启动我的电脑并再次安装,但这次我同意让安装程序获得最新更新。它成功了

关于mysql - 在 Windows 7 64 上的 MySQL 服务器 8.0.111 中初始化数据库失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51138896/

相关文章:

mysql - 为什么下面的 SQL 表创建不起作用?

php - 查找两个 # 值之间的差异,其中 itemname = 对于一个特定的 id 相同

mysql - 使用 mySQL 按顺序检索值并减去行

php - 通过更改为单个查询而不是将其放入循环中进行优化

php - 查询在 wp/gravity forms 数据库中找不到数据

MySql 触发器语法在表中查找值并在更新的行中更新

php - csv 文件在其他行的最后插入一个空白行到 mysql 表中

mysql - Mac OS X & MAMP - 如何在不输入完整路径的情况下运行 mysql?

MySQL 错误 1045 (28000) : Access denied for user 'bill' @'localhost' (using password: YES)

mysql - MySql 中的 10 个周期移动平均线不使用日期