Configure MySQL data source connection details

In this milestone, you configure the connection details and the authentication credentials so that Grafana Cloud can connect to your MySQL database. This includes the hostname, port, and user name.

To configure the MySQL connection details, complete the following steps:

  1. On the Grafana Cloud home page, open the navigation menu on the left side of the screen and click Connection > Data sources and then select the MySQL data source plugin which will take you to the Settings tab.

  2. In the Host URL field under the Connection section, enter the hostname or IP address of your MySQL server.

    For example, enter localhost:3306 or mysql.example.com:3306.

  3. Complete the following steps in the Authentication section:

    1. In the Username field, enter the name of the MySQL user that you want to connect to.

      For example, enter grafanaReader.

    2. In the Password field, enter the password for the MySQL user that you defined above.

      For example, enter password.

In the next milestone, you’ll select the Private data source Connect (PDC) and test the connection:

More to explore (optional)

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

MySQL connection parameters

Network security for data sources

Private data source connections


page 6 of 9