简体   繁体   English

MySQL Server 8.0.14 无法在 Windows 10 上安装

[英]MySQL Server 8.0.14 failed to Install on Windows 10

视觉图像

I have already installed Visual Studio 2015 x64 Redistributable but still the server failed to install.我已经安装了 Visual Studio 2015 x64 Redistributable,但服务器仍然无法安装。 What could be the reason?可能是什么原因?

I've found this workaround at MySQL Forums that worked for me: 我在对我有用的MySQL论坛上找到了这种解决方法:

  1. Run the installer 运行安装程序
  2. When the wizard pops, exclude "Server Data Files" (Red "X" on the drive) 向导弹出时,排除“服务器数据文件”(驱动器上的红色“ X”)
  3. The wizard will install the server 向导将安装服务器
  4. Click the "Reconfigure" link 点击“重新配置”链接
  5. Finish server configuration. 完成服务器配置。

Yes,I also failed to install mysql server 8.0.14 and workbench. 是的,我也无法安装mysql服务器8.0.14和工作台。 I checked my distributable. 我检查了我的可分配项。 I repeatedly install VS 2015 64 but I can't install. 我反复安装了VS 2015 64,但无法安装。 Because new VS 20** has been installed.So I uninstalled new VS 20** .And installed VS 2015 64. Finally I can install MySQL Server 8.0.14 after it. 因为已经安装了新的VS 20 **。所以我卸载了新的VS 20 **并安装了VS 201564。最后,我可以在其后安装MySQL Server 8.0.14。 So, please , follow these steps and try again to install MySQL Server 8.0.14. 因此,请按照以下步骤操作,然后重试安装MySQL Server 8.0.14。 Thank for reading. 感谢阅读。 My English is bad. 我的英语不好。

Important 重要

You must uninstall the new versions over microsoft visual C++ 2015 redistributable 64. <<<<< 您必须通过Microsoft Visual C ++ 2015 Redistributable 64卸载新版本。<<<<<

I had a similar problem, using the web installation. 使用网络安装时,我遇到了类似的问题。 "Show details" button, says that the installer was unable to downolad a valid package from the server. “显示详细信息”按钮,表示安装程序无法从服务器下载有效软件包。 Then I've downloaded the complete installation, even if I got a valid internet connection, and retried. 然后,即使我具有有效的Internet连接,我也下载了完整的安装,然后重试。 That solved the problem. 那解决了问题。 I believe that the installer can't go through some firewall, while the browser does. 我相信安装程序无法通过某些防火墙,而浏览器却可以。

When I ran the installer mysql-installer-community-8.0.26.0.msi selecting the MySQL Developer option, it continually failed even though I had the requested Microsoft Visual C++ 2015-2019 Redistributable Package and Visual Studio 2019 installed.当我运行安装程序 mysql-installer-community-8.0.26.0.msi 并选择 MySQL Developer 选项时,即使我安装了请求的 Microsoft Visual C++ 2015-2019 Redistributable Package 和 Visual Studio 2019,它也不断失败。 I even tried uninstalling all older, previous versions of these first.我什至尝试先卸载所有旧版本。

What worked for me was to just install the MySQL Server first, then rerun the installer and Add... the Selected Products except MySQL for Visual Studio, which wasn't allowed because the installer failed to resolve the above dependencies, even though they were installed.对我有用的是先安装 MySQL 服务器,然后重新运行安装程序并添加...除了用于 Visual Studio 的 MySQL 之外的选定产品,这是不允许的,因为安装程序无法解决上述依赖项,即使它们是安装。 Of course, that doesn't help you if you actually need the MySQL for Visual Studio component.当然,如果您确实需要 MySQL for Visual Studio 组件,这对您没有帮助。

After trying many things This worked for me:- https://bugs.mysql.com/bug.php?id=92392#:~:text=%5B14%20Feb%2011%3A59%5D%20Alex%20Stiglitz在尝试了很多事情之后这对我有用:- https://bugs.mysql.com/bug.php?id=92392#:~:text=%5B14%20Feb%2011%3A59%5D%20Alex%20Stiglitz

Tip:- See end of page提示:- 见页尾

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM