MySQL Forums
Forum List  »  Install & Repo

MySQL 8.0.33 - silent install with Chef
Posted by: Matt Hohmeister
Date: May 04, 2023 11:44AM

I'm trying to install MySQL Server 8.0.33 silently with Chef. The following PowerShell command works perfectly when run from a prompt:

Start-Process -FilePath "C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" -ArgumentList "community install server;8.0.33;x64:*:type=main;server_type=Dedicated;open_windows_firewall=true;datadir=`"C:\MySQL\Data`";password=`"lamepassword`" workbench;8.0.33;x64 --silent"

However, when I try to run this remotely via Chef automation, it fails with errorlevel 2.

Any thoughts?

Thanks!

Options: ReplyQuote


Subject
Written By
Posted
MySQL 8.0.33 - silent install with Chef
May 04, 2023 11:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.