From b4c8f9ec70c65ca5d61894d280aae875e5570ac5 Mon Sep 17 00:00:00 2001 From: Melroy van den Berg Date: Sat, 31 Oct 2026 16:37:51 +0100 Subject: [PATCH] docs(config): remove obsolete UTF8MB4 InnoDB options Assisted-by: Codex:GPT-6 Signed-off-by: Melroy van den Berg --- config/config.sample.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/config/config.sample.php b/config/config.sample.php index da3de23d25202..0c94c796eac21 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -2417,12 +2417,9 @@ * * Refer to the documentation for more details. * - * MySQL requires specific settings for longer indexes (> 767 bytes), which are - * necessary for 4-byte character support:: + * For supported MySQL and MariaDB versions, enable file-per-table tablespaces:: * * [mysqld] - * innodb_large_prefix=ON - * innodb_file_format=Barracuda * innodb_file_per_table=ON * * Tables will be created with: @@ -2431,11 +2428,7 @@ * * row_format: ``dynamic`` * * See: - * * https://dev.mysql.com/doc/refman/5.7/en/charset-unicode-utf8mb4.html - * * https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_large_prefix - * * https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/#innodb_large_prefix - * * http://www.tocker.ca/2013/10/31/benchmarking-innodb-page-compression-performance.html - * * http://mechanics.flite.com/blog/2014/07/29/using-innodb-large-prefix-to-avoid-error-1071/ + * * https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/mysql_4byte_support.html */ 'mysql.utf8mb4' => false,