Installing MySQL on Microsoft Windows: A Simple Guide

Having MySQL installed on your personal computer is helpful when wanting to work offline or when wanting to test table configuration and procedures without affecting others’ work. The process is fairly straightforward, but the official documentation on the MySQL website certainly doesn’t give that effect. It’s a labyrinth of hyperlinks, Google searches for missing components, and unanswered questions regarding what to click and when to click it.

Therefore, I thought I’d try to compile most of the necessary downloadable components along with step-by-step information in one place so that others may install it quickly and easily.

  1. Go here and download “Windows (x86, 32-bit), MSI Installer” (mysql-installer-community- You will need to log in or create an account with Oracle.
  2. Once the file is fully downloaded, launch the installation wizard by double-clicking the downloaded file.
  3. Once the wizard launches, click the “Add” button in the top right corner and accept the license agreement.
  4. On the screen labeled “Select Products and Features” download the products and features that you might need. These are the ones I elected to download:
    1. MySQL Server 5.6.23 – X86: MySql Servers > MySQL Server > MySQL Server 5.6
    2. MySQL For Excel 1.3.3 – X86: Applications > MySQL For Excel > MySQL for Excel 1.3
    3. Connector/Python (2.7) 2.0.3 – X86: MySQL Connectors > Connector/Python > Connector/Python 2.0 for Python 2.7
    4. MySQL Documentation 5.6.23 – X86: Documentation > MySQL Documentation > MySQL Documentation 5.6
    5. Samples and Examples 5.6.23 – X86: Documentation > Samples and Examples > Samples and Examples 5.6
    6. Products and Features

    Note: Feel free to download anything else you might feel is necessary to your operations or even pass on some of the bonuses I opted to download. MySQL Server is necessary — that’s the main component you want to download. Everything else is optional. I opted for Python connectors and Excel plugins since I definitely rely on Python connectivity for a lot of my projects and thought that Excel might be useful in the future. Documentation and Examples are recommended in case you might ever get into trouble, but are not required. Review the menus and options available and determine what bonuses you might prefer.

  5. On the Installation screen, click “Execute”. This will start the installation of all components selected on the previous screen.
  6. Once all components have finished downloading, click the Next button and begin the configuration of your MySQL server.
    1. Most items on the Types and Networking page can be left as is. I didn’t touch any of the default settings.
      Types and Networking
    2. Set up your root user password and configure any other users. When setting my user, since I’m just planning to work on my local server I selected the localhost server option.
      User Configuration
    3. The next page is for configuring MySQL as a Windows Service. These are pretty standard and what enables your computer to run as a MySQL server. You can access Windows services by opening services.msc via Run… Here’s a breakdown of what each of these settings mean (I kept all mine as is):
      1. Configure MySQL Server as a Windows Service: If you are not planning to run MySQL for your local server, then it may be worth it to skip this. This option is most likely required if you plan to use your computer as a localhost. I’m not sure if MySQL has an option to run the service interactively (which would be the alternative to a Windows service).
      2. Windows Service Name: The name of the service as it will be in services.msc.
      3. Start the MySQL server at System Startup: As the name suggests, this will configure the service to startup at boot. If you don’t plan to use MySQL regularly or have limited processing capacity, you may want to uncheck this and turn the service on manually when you want to utilize localhost capabilities.
      4. Run Windows Service as…: This is for permissions configuration. If you don’t want the Windows service to have full system accessibility, you may elect to set up a custom user with limited permissions.
    4. Click “Execute” on the next screen to configure your application.
    5. Click “Finish”.
  7. If you elected to install Samples and Examples, you will be taken back to the Product Configuration screen. You will be required to configure this component, as well, prior to completing installation. Click “Next” to begin this configuration.
    1. On the Connect to Server page, “Check” the root user in order to be able to click the “Next” button.
    2. “Execute” configuration.
  8. “Finish” your installation. Copy the installation log, if you so desire.

And that’s it! Use your preferred MySQL Management Tool (I like HeidiSQL) to connect to your local server and start working.

You might not be able to download certain components without downloading other related applications. Here are some of the common applications required prior to installing MySQL on my computer:

Blog at