MySQL安装常见报错怎么处理

来源:这里教程网 时间:2026-02-28 16:17:39 作者:

2.Winwods安装初始化报错

MySQL安装常见报错怎么处理

Beginning configuration step: Writing configuration fileSaving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration fileBeginning 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 serviceAttempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new serviceNew service added
Ended 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.24...
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...
Process for mysqld, with ID 2572, was run successfully and exited with code -1073741515.
Failed to start process for MySQL Server 8.0.24.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)

MySQL安装常见报错怎么处理
安装VC_redist.x86即可执行既OK

MySQL安装常见报错怎么处理
输入gpedit.msc,打开策略管理

MySQL安装常见报错怎么处理
启用证书更新后正常

由于部分系统镜像构建较早,且不能进行系统更新,需要安装系统补丁包才能完成vc++安装

4.Centos环境rpm初始化MySQL报错

4.MySQL8安装后无法登陆

第一办法:

相关推荐