diff --git a/debian/additions/mariadb.conf.d/50-server.cnf b/debian/additions/mariadb.conf.d/50-server.cnf index ee30148fc8e81c45a201eab6da2be52854fa6ee7..0365b364b7b7c562762d3db1269a39385599b512 100644 --- a/debian/additions/mariadb.conf.d/50-server.cnf +++ b/debian/additions/mariadb.conf.d/50-server.cnf @@ -78,12 +78,6 @@ max_binlog_size = 100M #binlog_do_db = include_database_name #binlog_ignore_db = exclude_database_name -# -# * InnoDB -# -# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. -# Read the manual for more InnoDB related options. There are many! - # # * Security Features # @@ -111,6 +105,18 @@ max_binlog_size = 100M character-set-server = utf8mb4 collation-server = utf8mb4_general_ci +# +# * InnoDB +# +# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. +# Read the manual for more InnoDB related options. There are many! +# +# Allow index key prefixes up to 3072 bytes. If not set, the limit is 767 bytes. +# This is important as utf8mb4 is used. See Debian bug #886756. +innodb_file_format = barracuda +innodb_large_prefix = on +innodb_default_row_format = dynamic + # # * Unix socket authentication plugin is built-in since 10.0.22-6 #