m0_73883071 2022-09-22 20:14 采纳率: 100%
浏览 127
已结题

配置MySQL时报错,整不明白

Beginning configuration step: Writing configuration fileSaving my.ini configuration file...Saved my.ini configuration file.Ended configuration step: Writing configuration fileBeginning configuration step: Adjusting Windows serviceAttempting to grant Network Service require filesystem permissions.Granted permissions.Adding new serviceNew service addedEnded configuration step: Adjusting Windows serviceBeginning configuration step: Initializing database (may take a long time)Attempting to run MySQL Server with --initialize-insecure option...Starting process for MySQL Server 8.0.30...Starting process with command: D:\mysql8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1...'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.D:\mysql8.0\bin\mysqld.exe (mysqld 8.0.30) initializing of server in progress as process 10432mysqld: File '.\鏈卞ぇ甯呬竴鍙?bin.index' not found (OS errno 2 - No such file or directory)The designated data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ is unusable. You can remove all files that the server added to it.AbortingD:\mysql8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.30) MySQL Community Server - GPL.Process for mysqld, with ID 10432, was run successfully and exited with code 1.Failed to start process for MySQL Server 8.0.30.Database initialization failed.Ended configuration step: Initializing database (may take a long time)

  • 写回答

3条回答 默认 最新

查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 10月4日
  • 已采纳回答 9月26日
  • 创建了问题 9月22日