我试图在Windows764bit上创建MySQLServer8.0.11版本,我得到了:
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有问题,则无法从该日志中找到。
最佳答案
解决了,只是卸载了所有属于myseql的东西。。重新启动电脑并重新安装,但这次我同意让安装程序获取最新更新。。它起作用了
关于mysql - Windows 7 64上的MySQL服务器8.0.111初始化数据库失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51138896/