gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 07:31:16 35 4
gpt4 key购买 nike

我正在尝试在 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/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com