aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-04-24 06:34:43 +0100
committerChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-09-17 18:43:09 +0100
commiteedbaa5ed66c0337d89e7ac9cbe2f3643e0bd550 (patch)
tree005be0a0fad117a33dd362c9b388d68255bcddc8
parent7707887c93b22cffae066ce0f1246e718c724501 (diff)
downloadgnu-guix-eedbaa5ed66c0337d89e7ac9cbe2f3643e0bd550.tar
gnu-guix-eedbaa5ed66c0337d89e7ac9cbe2f3643e0bd550.tar.gz
Add max_allowed_packet to the MariaDB/Mysql configuration
This should be done in govuk-guix, but this configuration is currently not easy.
-rw-r--r--gnu/services/databases.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index de1f6b8411..cc3e728378 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -291,6 +291,7 @@ and stores the database cluster in @var{data-directory}."
datadir=/var/lib/mysql
socket=/run/mysqld/mysqld.sock
port=" (number->string port) "
+max_allowed_packet=16M
"))))
(define (%mysql-activation config)