Wingetlywingetly
← Back to MySQL

Silent install command for MySQL 8.4.9

The exact silent switches the MySQL installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.

One-line silent install (x64, machine scope)
msiexec.exe /i mysql-8.4.9-winx64.msi /quiet /norestart CONSOLEARGS="install -type=Developer -silent"

Run from the directory containing mysql-8.4.9-winx64.msi. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.

ArchitectureScopeTypeSilent switchesSource
x64machineMSI
WiX
Custom: CONSOLEARGS="install -type=Developer -silent"
Default for WiX (MSI)
  • Declared by publisher means the switches come straight from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs.
  • Default for {type} means the manifest doesn't specify silent switches, so the framework's standard switches are shown (e.g. /S for NSIS, /quiet /norestart for MSI).

Frequently asked questions

What is the silent install command for MySQL?
MySQL uses MSI (WiX). After downloading the installer, run: msiexec.exe /i mysql-8.4.9-winx64.msi /quiet /norestart CONSOLEARGS="install -type=Developer -silent". The silent install switches are /quiet /norestart.
How do I deploy MySQL via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id Oracle.MySQL --exact 8.4.9 --silent --accept-package-agreements --accept-source-agreements. If winget isn't viable in your environment, package the publisher's installer directly using the silent switches above.

Prefer the winget route? See the full MySQL install page.