mariadb utf8mb4导数据中文防止乱码需要设置编码

  • A+
所属分类:信息技术

查看数据用:
SET character_set_client = utf8mb4;
SET character_set_results = utf8mb4;
SET character_set_connection = utf8mb4;

export!!导出数据用:
SET character_set_client = utf8mb4;
SET character_set_results = gb2312;
SET character_set_connection = utf8mb4;
import!!导入数据用:
SET character_set_client = utf8mb4;
SET character_set_results = utf8mb4;
SET character_set_connection = utf8mb4;

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: