---
title: "Advantages of using the MySQL data source | Grafana Labs"
description: "Learn about the specific benefits of connecting MySQL databases to Grafana Cloud."
---

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

# Advantages of using the MySQL data source

The MySQL data source in Grafana Cloud provides powerful capabilities for database monitoring and visualization. Unlike generic monitoring tools, the MySQL data source offers deep integration with your database systems.

The MySQL data source provides the following advantages:

- **Native SQL support** for complex queries and data analysis
- **Real-time monitoring** of database performance metrics
- **Custom alerting** based on query results and thresholds
- **Rich visualizations** including time series, tables, and graphs
- **Template variables** for dynamic dashboard filtering
- **Query builder** to simplify SQL query creation
- **Secure connections** with support for SSL/TLS encryption
- **Performance optimization** through query caching and connection pooling

In the next milestone, you’ll create a dedicated user on the MySQL Server for Grafana Cloud.

* * *

### More to explore (optional)

- [MySQL data source documentation](/docs/grafana/latest/datasources/mysql/)
- [Query MySQL with SQL](/docs/grafana/latest/datasources/mysql/#query-editor)
- [MySQL performance monitoring best practices](/docs/grafana-cloud/monitor-infrastructure/integrations/integration-reference/integration-mysql/)
