修改数据库配置文件my.cnf
[client]
default-character-set=uft8mb4
[mysql]
default-character-set=uft8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci ## 这两条要放配置文件最底下,不然启动会报错
2022-12-19 16:49:12
修改数据库配置文件my.cnf
[client]
default-character-set=uft8mb4
[mysql]
default-character-set=uft8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci ## 这两条要放配置文件最底下,不然启动会报错