From 814b2801e7565957bedbbdd92261282f82033df5 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 10 Jun 2026 19:33:21 +0300 Subject: [PATCH 1/2] core/config/sql/mysql: Update MariaDB compatibility headers note --- docs/core/config/sql/mysql.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/core/config/sql/mysql.md b/docs/core/config/sql/mysql.md index 16f907379..2b7b937bd 100644 --- a/docs/core/config/sql/mysql.md +++ b/docs/core/config/sql/mysql.md @@ -11,10 +11,9 @@ Driver name `mysql`. Driver for MySQL / MariaDB server. -To compile support for this driver, you need to have MySQL client library and -headers installed. - -For MariaDB, you need to have compatibility headers installed. +To compile support for this driver, you need to have the MySQL or MariaDB +client library and development headers installed (for example +`libmysqlclient-dev`, or `libmariadb-dev` for MariaDB). ## Example Configuration From 4b03119047165a961960e2f15990c18c2d49647f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 10 Jun 2026 19:39:44 +0300 Subject: [PATCH 2/2] core/config/sql/mysql: Recommend MariaDB over MySQL --- docs/core/config/sql/mysql.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/core/config/sql/mysql.md b/docs/core/config/sql/mysql.md index 2b7b937bd..f01c38bfd 100644 --- a/docs/core/config/sql/mysql.md +++ b/docs/core/config/sql/mysql.md @@ -9,7 +9,8 @@ dovecotlinks: Driver name `mysql`. -Driver for MySQL / MariaDB server. +The mysql driver works with both MySQL and MariaDB. MariaDB is the recommended +choice, as a community-governed, fully open-source drop-in replacement. To compile support for this driver, you need to have the MySQL or MariaDB client library and development headers installed (for example