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条回答 默认 最新
- 霸王龙的日常 2022-09-22 21:29关注
看这个报错信息是初始化时报错,找不到对应的目录。
mysqld: 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.
建议你查看配置my.ini配置文件中是否有中文路径,如果有,请修改为英文路径,并且路径是存在的。
我之前写过一篇文章,非常详细,你可以参考下,MySQL入门_实战1_MYSQL安装_windows系统安装mysql8.0.30图文安装及卸载教程_openGauss爱好者的博客-CSDN博客 windows系统安装mysql8.0.30图文安装及卸载教程 https://t-rex.blog.csdn.net/article/details/126742492?spm=1001.2014.3001.5502本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 1无用
悬赏问题
- ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
- ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
- ¥15 绘制多分类任务的roc曲线时只画出了一类的roc,其它的auc显示为nan
- ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
- ¥20 腾讯企业邮箱邮件可以恢复么
- ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
- ¥15 错误 LNK2001 无法解析的外部符号
- ¥50 安装pyaudiokits失败
- ¥15 计组这些题应该咋做呀
- ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?