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.26…
Starting process with command: D:\Program Files\MySQL\bin\mysqld.exe --defaults-file=“D:\Pro\MySQL\my.ini” --console --initialize-insecure=on --lower-case-table-names=1…
mysqld: Can’t get stat of ‘C:\Users\24423\AppData\Local\TempC:\WINDOWS\system32’ (OS errno 2 - No such file or directory)
The designated data directory D:\Pro\MySQL\Data\ is unusable. You can remove all files that the server added to it.
Aborting
Process for mysqld, with ID 13448, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.26.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)
我翻译了一下 大哥大姐们能帮帮孩子吗
开始配置步骤:编写配置文件
保存my.ini配置文件…
保存了my.ini配置文件。
结束的配置步骤:编写配置文件
开始配置步骤:更新Windows防火墙规则
在端口3306上为MySQL80添加Windows防火墙规则。
尝试使用命令添加Windows防火墙规则:netsh.exe advfirewall firewall add rule name=“Port 3306” protocol=TCP localport=3306 dir=in action=allow
确定。
成功添加了Windows防火墙规则。
在端口33060上为MySQL80添加Windows防火墙规则。
尝试使用命令添加Windows防火墙规则:netsh.exe advfirewall firewall add rule name=“Port 33060” protocol=TCP localport=33060 dir=in action=allow
确定。
成功添加了Windows防火墙规则。
结束的配置步骤:更新Windows防火墙规则
开始配置步骤:调整Windows服务
尝试向“NT AUTHORITY\NetworkService”帐户授予所需的文件系统权限。
授予数据目录的权限。
添加新服务
添加了新服务
结束配置步骤:调整Windows服务
开始配置步骤:初始化数据库(可能需要很长时间)
尝试使用–initialize-insecure选项运行MySQL服务器…
MySQL Server 8.0.26的启动过程…
使用命令启动进程:D:\Program Files\MySQL\bin\mysqld.exe --defaults-file=“D:\Pro\MySQL\my.ini” --console --initialize-insecure=on --lower-case-table-names=1…
mysqld:无法获得’C:\Users\24423\AppData\Local\TempC:\WINDOWS\system32’的属性(OS errno 2 - 没有这样的文件或目录)
指定的数据目录D:\Pro\MySQL\Data\无法使用。您可以删除服务器添加到其中的所有文件。
流产
mysqld的进程,ID为13448,已成功运行,并使用代码1退出。
无法启动MySQL Server 8.0.26的进程。
数据库初始化失败。
结束的配置步骤:初始化数据库(可能需要很长时间)