2017-03-01 125 views
0

我已经使用脚本已经安装的MySQL服务器突然停止工作“失败的依赖关系” ...我安装是这样的:MySQLInstallerConsole突然失败由于

MySQLInstallerConsole community install -silent server;5.7.14;x64:*:type=config;servertype=Server;openfirewall=true;generallog=true;serverid=3306;enable_tcpip=true;port=3306;rootpasswd=%1;installdir="C:\MySQL\MySQLServer-5.7":type=user;username=jlawyer;password=%1;role=DBManager 

现在我突然得到这个:

=================== Start Initialization =================== 
MySQL Installer is running in Community mode 

Attempting to update manifest. 
Initializing product requirements 
Loading product catalog 
Checking for product catalog snippets 
Checking for product packages in the bundle 
Categorizing product catalog 
Finding all installed packages. 
Your product catalog was last updated at 01.03.2017 22:48:34 
=================== End Initialization =================== 



Package MySQL Server 5.7.14 cannot be installed due to failing requirement. 

Product installations done. 

当我在GUI模式下运行安装程序时,它会自动下载和安装依赖项,但是如何让MySQLInstallerConsole执行此操作?

+0

这似乎这开始使用自带的Web安装程序(在线安装)的MySQLInstallerConsole时发生安装。我切换到使用脱机安装程序,一切都很好。所以...仍然是一个问题,但有一个解决方法(这只是成本带宽)。 –

回答

0

您必须通过手动启动来自给定安装程序的安装来检查要求。我有同样的问题,只是因为没有安装Visual C++ 2013 64位。

仅供参考,VISUAL C++ 2013可默默地vcredist_x64.exe /q /norestart

+0

恩......是的,我可以这样做。但为什么它会自动下载并在GUI模式下安装依赖项,而不是在安静模式下?做远程安装我不能在GUI模式下完成,它需要无人值守运行。 –

相关问题