SQL Mirror

Download MySQL for Windows

Downloading MySQL for Windows means running the official MySQL Installer (a single .msi) from Oracle's dev.mysql.com — the one tool that installs both MySQL Community Server and MySQL Workbench, with no Oracle account and no signup. This page sends you straight to that installer and explains the choices it asks you to make.

Independent project — not Oracle. Links last verified .

Download MySQL Installer (dev.mysql.com) Get MySQL Workbench

Every button lands on Oracle's own servers. SQL Mirror hosts no files and adds nothing to the installer.

Web installer or full installer?

Oracle ships the MySQL Installer in two forms, and the right pick depends on your connection. The web installer is a tiny .msi (around 2 MB) that downloads only the components you select during setup — the fastest option on a machine with internet access. The full installer is a single large bundle (several hundred MB) containing every component, made for offline or air-gapped machines. Both install the identical official MySQL; the only difference is whether the components come down during setup or ship inside the file.

Install MySQL on Windows in four steps

  1. Download the MySQL InstallerGet the official MySQL Installer .msi from dev.mysql.com. The small web installer downloads components on demand; the full installer bundles everything for offline use.
  2. Run the .msi and choose a setup typeLaunch the installer and pick a setup type. Developer Default installs Server plus Workbench and connectors; Server only installs just the database engine.
  3. Configure the serverChoose the default port 3306, set authentication, and set a root password. Write the password down — you need it to connect.
  4. Finish and start MySQLComplete the wizard. The installer registers MySQL as a Windows service that starts automatically, so the server is already running when setup ends.

Setup types compared

Setup typeWhat it installsBest for
Developer DefaultServer + Workbench + shell + connectors + docsLocal development on your own PC
Server onlyMySQL Community Server, nothing elseHeadless machines and servers
CustomExactly the components you tickAdding just Workbench, or a specific version

After installing: verify it works

Once the wizard finishes, MySQL is running as a Windows service. Confirm the version and open a session from Command Prompt or PowerShell:

:: check the installed version
mysql --version

:: connect as root (enter the password you set)
mysql -u root -p

If mysql isn't recognised, add its bin folder (usually C:\Program Files\MySQL\MySQL Server 8.4\bin) to your PATH, or use MySQL Workbench, which finds the server automatically. From there, the official MySQL getting-started guide walks through creating your first database.

Create a user and a first database

The installer already ran the secure-setup step (root password, port 3306), so you can go straight to creating a dedicated, non-root user for your app. Connecting as an app user scoped to one database is safer than using root everywhere:

mysql -u root -p

-- inside the mysql> prompt:
CREATE DATABASE appdb;
CREATE USER 'appuser'@'localhost' IDENTIFIED BY 'a-strong-password';
GRANT ALL PRIVILEGES ON appdb.* TO 'appuser'@'localhost';
FLUSH PRIVILEGES;

Two common first-run issues

"Access denied for user 'root'@'localhost'" — you're using the wrong password. Use the root password you set in the installer's configuration step. If you've lost it, the cleanest fix is to re-run the MySQL Installer, choose Reconfigure on the Server item, and set a new root password.

The MySQL service isn't running — open Services (press Win+R, type services.msc), find MySQL84, and confirm its status is Running and startup type is Automatic. Right-click → Start if it's stopped.

Verify the download (optional but recommended)

Confirm the installer matches the SHA-256 checksum Oracle lists beside it on the download page before you run it — this proves you have the genuine, untampered file. In Command Prompt or PowerShell:

CertUtil -hashfile mysql-installer-community-*.msi SHA256
:: compare the output to the SHA256 shown on dev.mysql.com

Windows download questions

How do I download MySQL for Windows without an Oracle account?

Click the download button on this page. SQL Mirror sends you straight to the official MySQL Installer on Oracle's servers — no Oracle account and no signup. The .msi is the exact same file Oracle publishes on dev.mysql.com.

What is the difference between the web and full MySQL Installer?

The web installer is a small .msi (about 2 MB) that downloads only the components you select during setup. The full installer is a larger bundle (several hundred MB) that contains every component for offline installation. Pick the web installer on a connected machine; pick the full installer for offline or air-gapped setups.

Do I need MySQL Workbench as well?

No. MySQL Community Server is the database engine and runs on its own. MySQL Workbench is an optional visual tool for writing SQL and browsing data. The Developer Default setup type in the installer bundles both, so you can add Workbench in the same run if you want it.

Which setup type should I choose in the MySQL Installer?

Choose Developer Default if you want Server, Workbench, and connectors together for local development. Choose Server only if you just need the database engine, for example on a headless machine. You can re-run the installer later to add or remove components.

Is MySQL for Windows free?

Yes. MySQL Community Server is open source under GPLv2 and free on Windows, the same as on macOS and Linux. SQL Mirror is free too and hosts none of the files.

On a different machine? Download MySQL for macOS or download MySQL for Linux.