【MySQL9.0安装问题-缺少Microsoft Visual C++ 2019 x64 redistributable】

#MySQL9.0安装问题-缺少Microsoft Visual C++ 2019 x64 redistributable

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档


前言

最近学习MySQL,使用MySQL9.0安装包mysql-9.0.1-winx64进行安装,提示:This application requires Visual Studio 2019 x64Redistributable, Please install the Redistributable then runthis installer again。出现这个错误是因为我们电脑缺少Microsoft Visual C++ 这个程序,下载安装完后,即可正常安装MySQL9.0。
提示缺少visual studio 2019 x64可再发行组件

一、Microsoft Visual C++ 可再发行程序包最新支持的下载

选择Visual Studio 2015、2017、2019 和 2022下面找到对应版本,进行下载
下载Microsoft Visual C++ 2019 x64 安装包

二、选择最新受支持x64版本的Microsoft Visual C++ 2019 x64的安装包,下载vc++组件

选择最新受支持x64版本的Microsoft Visual C++ 2019 x64

三、打开下载vc++安装包,同意许可条款,即可安装

选择同意,安装Microsoft Visual C++ 2019 x64

四、vc++成功安装后,继续安装MySQL 9.0 即可正常安装

安装Microsoft Visual C++ 2019 x64,可正常安装MySQL 9.0

总结

以上就是今天要讲的内容,本文仅仅简单介绍了安装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 MYSQL90 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. Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 0" protocol=TCP localport=0 没有与指定标准相匹配的规则。 An error occurred running netsh.exe delete: The attempt to delete a Windows Firewall rule failed. Adding a Windows Firewall rule for MYSQL90 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. Granted permissions to the install 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 9.0.1... Starting process with command: D:\Program Files\MySQL\MySQL Server 9.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 9.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1... MySQL Server Initialization - start. D:\Program Files\MySQL\MySQL Server 9.0\bin\mysqld.exe (mysqld 9.0.1) initializing of server in progress as process 6204
03-26
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值