2017-03-01 96 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模式下完成,它需要無人值守運行。 –