Skip to content

Commit

Permalink
Set default collation for MySQL & Mariadb images to utf8mb4_unicode_ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kunleodusan authored and codyfinegan committed Jun 18, 2024
1 parent fa2ee33 commit fc40ef4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mariadb/my.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ tmp_table_size=134217728
max_heap_table_size=134217728

skip-name-resolve

# Default server character-set and collation
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
6 changes: 5 additions & 1 deletion mysql8/my.cnf
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[mysqld]
default-authentication-plugin=mysql_native_password
default-authentication-plugin=mysql_native_password

# Default server character-set and collation
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci

0 comments on commit fc40ef4

Please sign in to comment.