Skip to content

Commit 7eb0166

Browse files
committed
(#1619) mysq::db: update charset/collate to utf8mb3/utf8mb3_general_ci
Ages ago, MySQL and MariaDB switched their default from UTF8 to UTF8MB3. This PR reflects this change.
1 parent 38fad75 commit 7eb0166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: manifests/db.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
Variant[String, Sensitive[String]] $password,
5252
Optional[Array[String[1]]] $tls_options = undef,
5353
String $dbname = $name,
54-
String[1] $charset = 'utf8',
55-
String[1] $collate = 'utf8_general_ci',
54+
String[1] $charset = 'utf8mb3',
55+
String[1] $collate = 'utf8mb3_general_ci',
5656
String[1] $host = 'localhost',
5757
Variant[String[1], Array[String[1]]] $grant = 'ALL',
5858
Optional[Variant[String[1], Array[String[1]]]] $grant_options = undef,

0 commit comments

Comments
 (0)