Skip to content

Commit

Permalink
(puppetlabs#1619) mysq::db: update charset/collate to utf8mb3/utf8mb3…
Browse files Browse the repository at this point in the history
…_general_ci

Ages ago, MySQL and MariaDB switched their default from UTF8 to UTF8MB3.
This PR reflects this change.
  • Loading branch information
bastelfreak committed Mar 12, 2024
1 parent 38fad75 commit 7eb0166
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/db.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
Variant[String, Sensitive[String]] $password,
Optional[Array[String[1]]] $tls_options = undef,
String $dbname = $name,
String[1] $charset = 'utf8',
String[1] $collate = 'utf8_general_ci',
String[1] $charset = 'utf8mb3',
String[1] $collate = 'utf8mb3_general_ci',
String[1] $host = 'localhost',
Variant[String[1], Array[String[1]]] $grant = 'ALL',
Optional[Variant[String[1], Array[String[1]]]] $grant_options = undef,
Expand Down

0 comments on commit 7eb0166

Please sign in to comment.