---
title: >-
  TLS version should be set to TLSv1.2 or higher for MySQL flexible database
  servers
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > TLS version should be set to TLSv1.2 or
  higher for MySQL flexible database servers
---

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

# TLS version should be set to TLSv1.2 or higher for MySQL flexible database servers
 
## Description{% #description %}

Transport Layer Security (TLS) connectivity enhances security by encrypting the communication between database servers and client applications. This control requires TLS 1.2 or TLS 1.3, the recommended setting for MySQL 8.0 and later. Enforcing TLS connections helps protect data from "man-in-the-middle" attacks by securing the data stream between the server and the application.

## Remediation{% #remediation %}

To configure TLS settings for your Azure Database for MySQL flexible servers, consult the [Azure Database for MySQL documentation](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/overview#enterprise-grade-security-compliance-and-privacy)
