# Source: https://docs.datadoghq.com/database_monitoring/setup_mysql.md

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

# 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:

- [Selfhosted](https://docs.datadoghq.com/database_monitoring/setup_mysql/selfhosted)
- [RDS](https://docs.datadoghq.com/database_monitoring/setup_mysql/rds)
- [Aurora](https://docs.datadoghq.com/database_monitoring/setup_mysql/aurora)
- [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_mysql/gcsql)
- [MySQL](https://docs.datadoghq.com/database_monitoring/setup_mysql/azure)