输入banner图图片脚本导航/分类

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

 

 

    

linux mysql中文乱码

标签:中文乱码   mic   wan   sdn   image   detail   https   htm   set