Browse Source

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
changes/24/631924/1
Jeremy Stanley 4 months ago
parent
commit
b46a3aadef
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      manifests/mysql.pp

+ 1
- 0
manifests/mysql.pp View File

@@ -33,5 +33,6 @@ class storyboard::mysql (
33 33
     host     => 'localhost',
34 34
     grant    => ['all'],
35 35
     charset  => 'utf8mb4',
36
+    collate  => 'utf8mb4_general_ci',
36 37
   }
37 38
 }

Loading…
Cancel
Save