当前位置:Gxlcms > 数据库问题 > Windows mysql默认字符集修改

Windows mysql默认字符集修改

时间:2021-07-01 10:21:17 帮助过:35人阅读

 


 set character_set_client=utf8;

 set character_set_connection=utf8;

 set character_set_database=utf8;

 set character_set_results=utf8;

 set character_set_server=utf8;


对于字符集的支持细化到四个层次:
服务器(server),数据库(database),数据表(table)和连接(connection)。

 

查看系统的字符集和排序方式的设定可以通过下面的两条命令:

SHOW VARIABLES LIKE ‘character%‘;

SHOW VARIABLES LIKE ‘collation_%‘;

 

Windows mysql默认字符集修改

标签:查看系统   client   char   database   round   行修改   var   show   mil   

人气教程排行