使用批处理文件以被动模式安装MySQL社区5.6.14(在win7上)
我正在尝试使用批处理文件以被动模式安装MySQL Community 5.6.14 首先,“MySQLInstaller”无法在被动或安静模式下安装MySQL,用户必须手动完成安装向导 MySQL社区5.6.14是否支持被动(或安静)模式 其次,我测试了MySQLInstallerConsole示例,但找不到正确的参数组合 批处理文件内容:使用批处理文件以被动模式安装MySQL社区5.6.14(在win7上),mysql,installation,passive-mode,Mysql,Installation,Passive Mode,我正在尝试使用批处理文件以被动模式安装MySQL Community 5.6.14 首先,“MySQLInstaller”无法在被动或安静模式下安装MySQL,用户必须手动完成安装向导 MySQL社区5.6.14是否支持被动(或安静)模式 其次,我测试了MySQLInstallerConsole示例,但找不到正确的参数组合 批处理文件内容: @Echo off echo Installing MysqlInstaller.... msiexec /i "c:\mysql\mysql.msi"
@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
您可以通过键入以下内容获得帮助:
MySQLInstallerConsole.exe install
试试这个:
MySQLInstallerConsole.exe install server;5.6.17:*:port=3306;serverid=2:type=user;username=foo;password=bar;role=DBManager
我希望这会有所帮助