mysql设置编码的命令是什么

来自:互联网
时间:2020-09-27
阅读:

一、查看编码

SHOW VARIABLES LIKE '%set%';

二、将编码设置为UTF-8

SET character_set_client = utf8;
SET character_set_connection = utf8;
SET character_set_database = utf8;
SET character_set_database = utf8;
SET character_set_results = utf8;
SET character_set_server = utf8;
SET character_set_system = utf8;
返回顶部
顶部