增加mysql默认编码

This commit is contained in:
yml
2026-06-05 21:27:26 +08:00
parent c15e5e8b6a
commit 63d4011796
4 changed files with 157 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
init-connect = 'SET NAMES utf8mb4'
skip-character-set-client-handshake