diff --git a/stack/erp5/buildout.cfg b/stack/erp5/buildout.cfg
index d08076140989b26762ae79168b3ce5af7e449898..61d30101f718d6c18fc1cdef15b35c18cf8d0a12 100644
--- a/stack/erp5/buildout.cfg
+++ b/stack/erp5/buildout.cfg
@@ -173,7 +173,7 @@ context =
 [template-mariadb]
 < = download-base
 filename = instance-mariadb.cfg.in
-md5sum = 2b77235147c6d6c694e43ac7fae4946f
+md5sum = 2d3bc3bb5e79519897c96acbdcc4ece6
 
 [template-zope]
 < = download-base
diff --git a/stack/erp5/instance-mariadb.cfg.in b/stack/erp5/instance-mariadb.cfg.in
index 362ee46c3ccc453ba8deb3da2b5e753e1157ec5a..1779c9b0cb0b3c59d5d4165b3ebea6bc6ce2f726 100644
--- a/stack/erp5/instance-mariadb.cfg.in
+++ b/stack/erp5/instance-mariadb.cfg.in
@@ -60,7 +60,7 @@ data-directory = ${directory:mariadb-data}
 pid-file = ${directory:run}/mariadb.pid
 error-log = ${directory:log}/mariadb_error.log
 slow-query-log = ${directory:log}/mariadb_slowquery.log
-innodb-buffer-size = {{ dumps(slapparameter_dict.get('innodb-buffer-size', 0)) }}
+innodb-buffer-pool-size = {{ dumps(slapparameter_dict.get('innodb-buffer-pool-size', 0)) }}
 innodb-log-file-size = {{ dumps(slapparameter_dict.get('innodb-log-file-size', 0)) }}
 innodb-log-buffer-size = {{ dumps(slapparameter_dict.get('innodb-log-buffer-size', 0)) }}
 relaxed-writes = {{ dumps(slapparameter_dict.get('mariadb-relaxed-writes', False)) }}