帮帮吧mysql安装不上了

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的进程。

数据库初始化失败。

结束的配置步骤:初始化数据库(可能需要很长时间)

  • 22
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值