Skip to main content
Version: 8.1

Installing MySQL

Inductive University

Installing MySQL

Watch the video

To Install the MySQL Server and Workbench​

The goal of this page is to demonstrate how to install MySQL Server, and a helpful tool called MySQL workbench. This guide is not an exhaustive listing of all of the various installation steps or scenarios for MySQL. For more information, take a look at MySQL's documentation: MySQL Documentation.

  1. Go to the MySQL website at https://dev.mysql.com/downloads/mysql/

  2. Scroll-down to Windows (x86, 32-bit), MSI Installer. You will notice multiple download options. Both allow you to install MySQL

    note

    MySQL Installer is 32-bit, but will allow you to install the 64-bit version of MySQL.

    " "

  3. Click on the Download button.

  4. On the next page, you can login or create an account if you'd like. Otherwise click No thanks, just start my download.

    " "

Running the Installer​

  1. Once the .msi file is downloaded, run the file to begin the installation process.

  2. The Welcome window is displayed. Select the Install MySQL Products action.

  3. On the Choosing a Setup Type page, select Custom and click Next. While you can select one of the other options, at minimum you'll want to install both the server (the actual database) and MySQL Workbench (an application that allows you to quickly and easily interact with the database, without using a command-line client). Any other items beyond these two are generally unnecessary in most environments.

    If you want to learn more, MySQL does have some additional information on their documentation if you're curious about the other options: MySQL Docs. This example will continue with a Custom installation.

    " "

  4. On the Select Products and Features page, scroll down to choose MySQL Server 8.0. Click the right arrow to move it to the "Products/Features To Be Installed" column.

    " "

  5. Scroll down to MySQL Workbench, select a version, and click the right arrow to move it to the "Products/Features To Be Installed" column.

  6. Click Next.

    " "

  7. On the Installation screen, click Execute.

    " "

  8. After these are downloaded and installed, you see the Product Configuration page. Click Next.

  9. In this guide, we're going to use a standalone server. On the High Availability page, select Standalone MySQL Server / Classic MySQL Replication, and click Next.

    " "

  10. Leave the default settings on the Type and Networking page. Click Next.

    " "

  11. On the Authentication Method page, choose Use Strong Password Encryption for Authentication. Click Next.

    " "

  12. Create a strong password and click Next.

    " "

  13. On the Windows Service page, leave the default settings and click Next.

    " "

  14. On the Apply Configuration page, click Execute.

    " "

  15. Once the configuration is applied and the database is initialized, you'll see a confirmation message. Click Finish to complete the install process.

    " "

  16. The MySQL Workbench window is displayed. MySQL Workbench lets you to administrate the MySQL server.

  17. Click on Local instance MySQL to connect to the newly installed MySQL server.

    " "

  1. Enter the root password you earlier entered into the installer and click OK.

  2. You are now connected and can see, in the Navigator, the default sys schema. Click on the Schemas tab to see a listing of schemas

    " "

  3. A "schema" is a collection of tables and other database objects. Ignition needs a schema to connect to. Instead of using the sys schema, we can create a scheme dedicated to Ignition. To create the schema, click the Create New Schema " " icon.

" "

  1. You'll see the Schema creation tab. This allows you to make a new Schema. Type in test as the name, and click Apply. Technically you can call the schema anything the database allows, but the default MySQL connection in Ignition assumes a schema named "test". If you name the schema something else here, you'll need to remember the name when creating the database connection in Ignition later.

    " "

  2. You'll see the Apply SQL Script to Database window. Click Apply.

  3. If there was an issue, the following window will state the issue. Go back and address the issue. Otherwise, click the Finish button. You should now see the test schema in the Navigator.

    " "

Now that the database is installed, you can connect Ignition to it. Learn more here: Connecting to MySQL.