Add the MySQL data source

Grafana provides built-in support for MySQL databases. In this milestone, you add the MySQL data source and give it a descriptive name.

Let’s walk through the steps together.

  1. In the navigation menu, expand the Connections section by clicking the arrow.
  2. In the navigation menu, click Data sources.
  3. Click Add new data source.
  4. In the Search field, enter MySQL.
  5. From the search results, click MySQL.
  6. In the Name field, enter a descriptive name for your MySQL data source.

    For example, enter Production MySQL Database.

Did you know? The name of the data source is displayed on dashboard panels, so it’s important to choose a meaningful name.

In the next milestone, you’ll configure the connection details and authentication credentials for your MySQL server.

More to explore (optional)

At this point in your journey, you can explore the following paths:

Adding data sources to Grafana (video)

Data source plugins for Grafana


page 5 of 9