我这个每次到这里就失败是什么问题?
mysql吧
全部回复
仅看楼主
level 2
霉节超 楼主
我问ai,跟着做也不行
2026年03月17日 11点03分 1
level 2
霉节超 楼主
Beginning configuration step: Writing configuration file
Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file
Beginning configuration step: Updating Windows Firewall rules
Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
纭畾銆?
Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
纭畾銆?
Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules
Beginning configuration step: Adjusting Windows service
Attempting to grant the required filesystem permissions to the 'NT AUTHORITY\NetworkService' account.
Granted permissions to the data directory.
Adding new service
New service added
Ended configuration step: Adjusting Windows service
Beginning 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.45...
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 --lower-case-table-names=1...
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.45) initializing of server in progress as process 16524
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. You can remove all files that the server added to it.
Aborting
2026年03月17日 11点03分 2
C:\ProgramFiles\MySQL\MySQLServer8.0\bin\mysqld.exe:Shutdowncomplete(mysqld8.0.45)MySQLCommunityServer-GPL. Processformysqld,withID16524,wasrunsuccessfullyandexitedwithcode1. FailedtostartprocessforMySQLServer8.0.45. Databaseinitializationfailed. Endedconfigurationstep:Initializingdatabase(maytakealongtime)
2026年03月17日 11点03分
level 8
直接起docker容器。实在要手装,起虚拟机装,装宿主机里多少有点污染环境了
2026年03月22日 00点03分 3
谢谢喵
2026年03月22日 02点03分
level 2
我也是
2026年04月06日 10点04分 4
level 5
我也一样
2026年04月21日 01点04分 5
1