From b46a3aadefb7764ef250297589b4dffe2d44b071 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 19 Jan 2019 15:11:50 +0000 Subject: [PATCH] Use a utf8mb4 collation Change I25bd7b5d2a904dad3e13efaf2da94cce205bcc0b switched the characterset for new databases to utf8mb4, but the Puppet MySQL module independently defaults the collate parameter to utf_general_ci which is not compatible with utf8mb4. Set an explicit utf8mb4_general_ci collation instead so that the database can be created successfully. Change-Id: I9cc715e0b0cec9494489d56a2f4c1549782b0fca --- manifests/mysql.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/mysql.pp b/manifests/mysql.pp index b05a7d9..4198789 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -33,5 +33,6 @@ class storyboard::mysql ( host => 'localhost', grant => ['all'], charset => 'utf8mb4', + collate => 'utf8mb4_general_ci', } }