---
title: "Verify MySQL data query in Grafana | Grafana Labs"
description: "Learn how to verify that your MySQL data is accessible and query-able in Grafana."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Verify MySQL data query in Grafana

In this milestone, you verify that your MySQL data source is working correctly by running a test query in Grafana’s Explore feature. Watch video -&gt;

1. In the Grafana Cloud navigation menu, click **Explore**.
2. From the data source dropdown at the top-left, select your MySQL data source.
   
   For example, select **Production MySQL Database**.
3. In the query editor, enter a simple SQL query to test your connection.
   
   For example, enter:
   
   SQL ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy
   
   ```sql
   SELECT * FROM performance_schema.file_instances LIMIT 5
   ```
   
   **Tip:** You can use any valid SQL query that works with your MySQL database.
4. Click **Run query** to execute the query.
   
   You should see the query results displayed in the results panel below the query editor. For more results, change the LIMIT from `5` to `10`.
   
   **Did you know?** Grafana’s Explore feature is perfect for testing queries and exploring your data before building dashboards. You can use the full power of SQL to query your MySQL database.

## Verify successful data access

After running your test queries, you should see:

- Query results displayed in the Explore interface
- No connection errors or timeouts
- Data that matches what you expect from your MySQL database
- The ability to run different SQL queries successfully

**Congratulations!** You’ve successfully connected your MySQL database to Grafana Cloud.

* * *

### More to explore (optional)

- [MySQL query examples](/docs/grafana/latest/datasources/mysql/#query-editor)
- [Building dashboards with MySQL data](/docs/grafana/latest/dashboards/)
- [Creating alerts with MySQL queries](/docs/grafana/latest/alerting/alerting-rules/create-grafana-managed-rule/)
