How to Download and Install MySQL on Windows 11

//

Michael Collins

To get MySQL on Windows 11, download the free MSI Installer for MySQL Community Server from dev.mysql.com, run it, and let it open MySQL Configurator, which sets the root password and starts the server as a Windows service. You do not need an Oracle account.

These instructions cover 64-bit Windows 11 and the MySQL Community Server releases listed on the MySQL download page on October 22, 2026: 9.7.4 LTS, 8.4.13 LTS and the newest Innovation release, 26.10.0. The same steps work on Windows 10, but Microsoft ended support for Windows 10 on October 14, 2025, so that PC no longer gets security updates.

Pick the right MySQL version

The download page has a Select Version list, and the choice matters more than it looks. MySQL now ships two kinds of releases:

  • LTS (Long-Term Support) releases keep the same features for years and only get fixes. Oracle supports an LTS series for 5 years of premier support plus 3 years of extended support.
  • Innovation releases add new features and can change or remove older behavior. Each one is supported only until the next Innovation release arrives.

MySQL also changed its numbering in 2026. According to the MySQL Reference Manual, 9.7 was the last series with the old numbers, and later releases use calendar versions in a year.month.patch format, so 26.10.0 is the October 2026 release. The number alone does not tell you whether a release is LTS or Innovation; the download page labels the LTS ones.

Version in the list Type Who it suits
9.7.4 LTS Long-Term Support Beginners, students and anyone who wants a stable setup for years
8.4.13 LTS Long-Term Support Projects or courses that require MySQL 8.4
26.10.0 Innovation (newest) People who want the latest features and plan to upgrade often
8.0.46 Older series Only when a course or app specifically asks for MySQL 8.0

If nothing tells you otherwise, choose 9.7.4 LTS. A class or tutorial that names a version is the exception: install the version it uses so that its examples behave the same way on your PC.

What happened to MySQL Installer

Many tutorials, including several that still rank well, tell you to download “MySQL Installer for Windows” and pick a setup type such as Developer Default. That tool still exists, but its download page states that MySQL 8.0 is the final series with MySQL Installer. From MySQL 8.1 onward, the server comes as an MSI file or a ZIP archive, and it includes a separate program called MySQL Configurator that handles the settings MySQL Installer used to ask about. Because the newer server packages do not include extras like MySQL Workbench, you download those separately (covered below).

Illustration comparing the MySQL MSI installer, the ZIP archive and the older MySQL Installer for Windows
Illustration: the three MySQL packages for Windows and which one to download.

Before you download

Check these four things first, because each one causes a common failure:

  • 64-bit Windows. MySQL Server is available only for 64-bit Windows. Every Windows 11 PC is 64-bit, so this only matters on an old Windows 10 machine. Older advice about choosing a 32-bit download no longer applies.
  • An administrator account. MySQL’s documentation recommends installing with an account that has administrator rights; without them, editing PATH or creating the Windows service can fail. The server itself does not run with administrator rights once it is installed.
  • The Microsoft Visual C++ Redistributable. MySQL Server requires the Visual C++ 2019 Redistributable to run, and MySQL says it should be on the PC before you install the server. Microsoft’s page of the latest supported Visual C++ Redistributable downloads offers one current package for apps built with Visual Studio 2017 through 2026, which covers the 2019 requirement. Get the X64 file, run it and select Install. If it reports that a newer version is already installed, close it and carry on.
  • Disk space. The MSI file for 26.10.0 is about 182 MB, and the installed server and its data need more room on top of that.

Download the MySQL MSI installer

  1. Open the MySQL Community Server download page in your browser. It opens on the MySQL Community Server product page.
  2. In Select Version, choose the release you picked above, for example 9.7.4 LTS.
  3. In Select Operating System, make sure Microsoft Windows is selected. The list of Windows packages appears below.
  4. Find the row named Windows (x86, 64-bit), MSI Installer and select Download on that row. Skip the two ZIP Archive rows unless you plan to configure MySQL by hand.
  5. A “Begin Your Download” page appears with Login and Sign Up buttons for an Oracle Web account. You do not need either: select No thanks, just start my download.
  6. Your browser saves a file with a name like mysql-9.7.4-winx64.msi to your Downloads folder.
Example MySQL MSI installer file in Downloads
Illustration: MySQL 8.4 sample version and output; your selected release may differ.

The download page also lists an MD5 checksum and a signature for every file. Checking them is optional for a home PC, but it confirms the file was not damaged or altered. In PowerShell, Get-FileHash -Algorithm MD5 followed by the file name prints a value you can compare with the one on the page.

Install MySQL Server from the MSI

  1. Open your Downloads folder and double-click the .msi file you downloaded.
  2. If Windows asks whether to allow the app to make changes to your device, select Yes. The MySQL Server setup wizard opens.
  3. Select Next, accept the license agreement and select Next again.
  4. On the setup type screen, keep the default unless you need MySQL in a different folder. The Custom setup type is the one that lets you change the install location; otherwise MySQL goes to C:\Program Files\MySQL\MySQL Server 9.7 (the last part matches your version).
  5. Select Install and wait for the progress bar to finish.
  6. When the wizard finishes, it offers to start MySQL Configurator. Accept that and select Finish. The server does not start until it has been configured, so do not skip this step.
MySQL setup complete with Configurator selected
Illustration: MySQL 8.4 sample version and output; your selected release may differ.

If you closed the wizard without starting MySQL Configurator, open Start, type MySQL Configurator and open it from the results. The MSI adds that Start menu entry.

Set up the server in MySQL Configurator

MySQL Configurator moves through a series of pages. The defaults are sensible for a personal PC, so most pages need only a quick check and Next.

  1. Type and Networking: under Server Configuration Type, choose Development. MySQL’s documentation describes it as the setting for a personal workstation that runs many other apps, and it uses the least memory. Leave TCP/IP selected with Port 3306 and X Protocol Port 33060, the standard ports.
  2. Still on that page, decide on Open Windows Firewall port for network access. For a database used only on this PC, you can clear it; select it only if other computers on your network need to connect.
  3. Accounts and Roles: type a password in Root Account Password and repeat it. The root password is required, and Configurator rates its strength as you type. Write it down somewhere safe, because you need it every time you sign in as root and whenever you reconfigure the server later.
  4. Optionally, select Add User to create an everyday account so you do not have to work as root all the time.
  5. Windows Service: keep Configure MySQL server as a Windows service and Start the MySQL Server at System Startup selected. The suggested service name is MySQL followed by the version digits; note it for later. Leave Run Windows Service as set to Standard System Account.
  6. Server File Permissions: keep the first option, which gives full control of the data folder only to the service account and the Administrators group.
  7. Sample Databases: select sakila and world if you want ready-made practice data. Both are small example databases that MySQL publishes for learning.
  8. Apply Configuration: select Execute. Each item on the Configuration Steps tab gets a check mark as it completes, and the Log tab shows details if one fails.
  9. When every item has its check mark, continue to the last page and close MySQL Configurator. The MySQL service is now running.
Illustration of the MySQL Configurator pages in order with the choice to make on each
Illustration: the MySQL Configurator pages in order and what to choose on each.

MySQL’s page on configuring the server with MySQL Configurator describes the advanced pages (logging, server ID and table name case) that appear if you select Show Advanced and Logging Options on the first page. Beginners can leave them alone.

Check that MySQL works

MySQL adds a command-line program called mysql that you can use to sign in to the server. Until you add it to PATH (next section), run it from the MySQL folder.

  1. Press the Windows key, type cmd and open Command Prompt.
  2. Go to the MySQL folder. For a 9.7 install, type cd "C:\Program Files\MySQL\MySQL Server 9.7" and press Enter. Change the version number if you installed a different release.
  3. Type bin\mysql -u root -p and press Enter, then type your root password when asked. The prompt changes to mysql>.
  4. Type SELECT VERSION(); and press Enter. MySQL prints the version number you installed.
  5. Type SHOW DATABASES; and press Enter. The list always includes mysql and information_schema, plus sakila and world if you added the samples.
  6. Type exit to leave the MySQL prompt.
Example MySQL client commands and exit result
Illustration: MySQL 8.4 sample version and output; your selected release may differ.

You can also confirm the service from Windows. Press Windows + R, type services.msc and select OK. In the Services list, find the entry with the name you noted in MySQL Configurator; its Status column should read Running. Right-click the entry to Stop, Start or Restart the server.

Add MySQL to PATH so mysql works anywhere

PATH is a Windows setting that lists the folders Windows searches when you type a command. Adding MySQL’s bin folder lets you type mysql -u root -p in any Command Prompt or PowerShell window. MySQL’s own instructions warn about two things: editing PATH carelessly can break other programs, and you should not add the folder at all if you run more than one MySQL server on the PC.

  1. Open Start, type environment variables and select Edit the system environment variables. The System Properties window opens on its Advanced tab.
  2. Select Environment Variables.
  3. Under System variables, select Path, then select Edit.
  4. Select New and type the full path of the bin folder, for example C:\Program Files\MySQL\MySQL Server 9.7\bin.
  5. Select OK in each window until they are all closed.
  6. Open a new Command Prompt window (windows that were already open do not see the change) and type mysql --version. It prints the client version.
Illustrative MySQL client version output
Illustration: MySQL 8.4 sample version and output; your selected release may differ.

MySQL’s page on customizing the PATH for MySQL tools covers the same change. Node.js handles this differently: its installer adds itself to PATH during setup, as the walkthrough on installing npm and Node.js on Windows shows, so do not assume every developer tool behaves the same way.

Add MySQL Workbench for a visual editor

MySQL Workbench is MySQL’s free graphical tool for writing queries, browsing tables and designing databases. It is a separate download from the MySQL Workbench download page, where the current release on October 22, 2026 is 26.10.0, offered as mysql-workbench-26.10.0-winx64.msi. The page lists two requirements for Windows: Microsoft .NET Framework 4.5 and the Visual C++ Redistributable for Visual Studio 2019, which you already installed for the server.

Install it the same way as the server MSI. When it opens, create a connection to host localhost (or 127.0.0.1), port 3306, user root, and enter your root password when Workbench asks for it.

Plenty of people also connect to MySQL from code rather than from Workbench. If you plan to query it from Python scripts, start by downloading Python on Windows 11, then install the MySQL connector package that your course or project names.

Fix common MySQL install problems

What you see Likely cause What to do
The installer or server fails with an error about a missing DLL file The Visual C++ Redistributable is missing Install the X64 package from Microsoft’s Visual C++ Redistributable page, then run the MySQL MSI again
'mysql' is not recognized as an internal or external command The bin folder is not on PATH, or the window was open before you changed it Run the command from the MySQL folder as shown above, or add the bin folder to PATH and open a new window
Access denied for user 'root'@'localhost' Wrong root password, or you left out -p Run mysql -u root -p and type the password you set in MySQL Configurator
Configurator says port 3306 is in use Another MySQL server or database program already uses that port Choose a different port on the Type and Networking page, and use that port when you connect
The MySQL service will not start Usually a configuration or folder problem Read the error log, a file ending in .err in the server’s data folder under C:\ProgramData\MySQL (a hidden folder; in File Explorer choose View > Show > Hidden items)
“Cannot create Windows service” after reinstalling The old service with the same name still exists Choose a different service name, or remove the old one from an administrator Command Prompt with sc delete followed by the old service name

For the last fix you need an elevated window, and the guide to running Command Prompt as an administrator shows how to open one. MySQL’s Windows troubleshooting page adds that NET START followed by the service name, run from an administrator prompt, prints any startup error directly in the window.

Reconfigure or remove MySQL later

To change the port, the service options or other settings, open MySQL Configurator from the Start menu again. It can reconfigure an existing server as well as set up a new one, and it asks for the root password before making changes.

To remove MySQL, open Settings > Apps > Installed apps, select the More button (three dots) next to MySQL Server, and choose Uninstall. The full routes, including Control Panel, are in the guide to uninstalling programs on Windows 11 and Windows 10. Remove MySQL Workbench the same way if you installed it. Your databases live in the data folder under C:\ProgramData\MySQL; if you want them gone too, check that folder after uninstalling and delete it only when you are sure you no longer need the data.

MySQL on Windows 11: Common Questions

Is MySQL free to download?

MySQL Community Server, the edition on the download page used above, is free and licensed under the GPL. Oracle also sells MySQL Enterprise Edition, which adds commercial support and extra features; you do not need it to learn MySQL or run a personal project.

Do I need an Oracle account to download MySQL?

No. The download page offers Oracle Web account sign-in and sign-up, but the No thanks, just start my download. link below those buttons starts the download without an account.

Can I still use MySQL Installer and the Developer Default setup?

Only for MySQL 8.0. The MySQL Installer download page says 8.0 is the final series that uses it, so it cannot install 8.4, 9.7 or 26.x. For those, use the MSI from the MySQL Community Server page and install Workbench and any other tools separately.

Can I install two MySQL versions on the same PC?

Yes, but each server needs its own port and its own Windows service name, both of which you set in MySQL Configurator. MySQL advises against putting either bin folder on PATH in that situation, so run each mysql program from its own folder.

Should I use the MSI or the ZIP archive?

Use the MSI. MySQL’s Windows installation overview calls it the recommended method for most people. The ZIP archive has the same server files without an installer, so you unpack it yourself (MySQL suggests C:\mysql), write the configuration file and set up the service by hand or with the Configurator included in the archive.