---
title: Setting up MySQL
description: Setting up Database Monitoring on a MySQL database
breadcrumbs: Docs > Database Monitoring > Setting up MySQL
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Setting up MySQL

### MySQL versions supported{% #mysql-versions-supported %}

| Self-hosted   | Amazon RDS | Amazon Aurora | Google Cloud SQL with >16GB RAM | Azure |
| ------------- | ---------- | ------------- | ------------------------------- | ----- |
| MySQL 5.6     | yes        | yes           | yes                             | yes   |
| MySQL 5.7     | yes        | yes           | yes                             | yes   | yes |
| MySQL 8.0     | yes        | yes           | yes                             | yes   | yes |
| MariaDB 10.5  | yes        | yes           |
| MariaDB 10.6  | yes        | yes           |
| MariaDB 10.11 | yes        | yes           |
| MariaDB 11.4  | yes        |

For setup instructions, select your hosting type:

- [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_mysql/selfhosted.md)
- [rds](https://docs.datadoghq.com/database_monitoring/setup_mysql/rds.md)
- [aurora](https://docs.datadoghq.com/database_monitoring/setup_mysql/aurora.md)
- [gcsql](https://docs.datadoghq.com/database_monitoring/setup_mysql/gcsql.md)
- [azure](https://docs.datadoghq.com/database_monitoring/setup_mysql/azure.md)
 