linux mysql中文乱码
1. 创建数据库字符集

2. 创建表字符集

3. 查看字符集
show variables like '%char%';

4. 修改my.cnf
添加:character_set_server= utf8
参考链接:https://www.cnblogs.com/wangkaihua/p/10165348.html
https://blog.csdn.net/Morning_G/article/details/89353949?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
浙公网安备 33010602011771号