Bug #113764 | mysqlinstallerconsole no offline silent mode | ||
---|---|---|---|
Submitted: | 25 Jan 2024 19:08 | Modified: | 13 Feb 2024 22:10 |
Reporter: | not happy | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL for Windows: Installer | Severity: | S3 (Non-critical) |
Version: | 5.7.43, 5.7.44, 8.3.0 | OS: | Windows (Server 2019) |
Assigned to: | CPU Architecture: | x86 (x64) | |
Tags: | Automation, offline, silent |
[25 Jan 2024 19:08]
not happy
[30 Jan 2024 7:02]
Jose Ramirez Ruiz
Hello, I've confirmed there is a bug that prevents setting the offline mode without getting prompted for input. This report will be used to fix that behavior. It is possible to workaround this issue by adding an "<OfflineMode>true</OfflineMode>" entry to the "settings-community.xml" file usually located at "C:\ProgramData\MySQL\MySQL Installer for Windows". Having said that, note that MySQL Installer console does not allow to execute multiple "actions" in a single command. You would first need to run the "--set ..." command and then execute the "--install" command. Additionally, you wrote the install command with an incorrect format, to achieve the installation you would need to execute it with the following format: "mysqlinstallerconsole.exe community --install server;5.7.43;x64 --silent". Regards. Jose Ramirez MySQL Windows experience
[12 Feb 2024 16:09]
Jose Ramirez Ruiz
Posted by developer: The --silent option can now be used for all CLI actions. CLI has been updated to not prompt the user if there is no internet connection and the --silent option was provided. If there is no internet connection and the --silent options has not been provided, the user will still be prompted to enable offline mode (if it is not yet enabled).
[13 Feb 2024 22:10]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Installer 1.6.10 release, and here's the proposed changelog entry from the documentation team: The MySQL Console now supports the --silent option for all CLI operations. Thank you for the bug report.