修改mysql配置存储表情微信昵称

修改/etc/mysql/my.cnf , 在[client], [mysqld], [mysql]下增加以下配置

[client]

default-character-set=utf8mb4

[mysqld]

collation-server = utf8mb4_unicode_ci

init-connect='SET NAMES utf8mb4'

character-set-server = utf8mb4

[mysql]

default-character-set=utf8mb4

微信扫一扫,分享到朋友圈

修改mysql配置存储表情微信昵称
返回顶部

Optimized by WPJAM Basic

显示

忘记密码?

显示

显示

获取验证码

Close