0

我正在尝试使用批处理文件以被动模式安装 MySQL Community 5.6.14。

首先,“MySQLInstaller”无法在被动或安静模式下安装 MySQL,用户必须手动完成安装向导!

MySQL Community 5.6.14 是否支持被动(或安静)模式?!

其次,我测试了 MySQLInstallerConsole 示例,但找不到正确的参数组合!

批处理文件内容:

@Echo off

echo Installing MysqlInstaller....

msiexec /i "c:\mysql\mysql.msi" /passive

cd C:\Program Files\MySQL\MySQL Installer

echo Config MysqlServer....

MySQLInstallerConsole --type=developer --action=install --product=* --config=mysql-server-5.6.14-win32:passwd=apassword

echo Finished !

pause
4

1 回答 1

1

您可以通过键入以下内容获得帮助:

MySQLInstallerConsole.exe install

尝试这个:

MySQLInstallerConsole.exe install server;5.6.17:*:port=3306;serverid=2:type=user;username=foo;password=bar;role=DBManager

我希望这将有所帮助。

于 2014-10-13T07:28:50.730 回答