标签:字符集 cti ase binary name variables data col rac
在这个配置下面加上下面这行就可以
[mysqld]
character_set_server=utf8
重启后:
mysql> show variables like ‘char%‘;
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
标签:字符集 cti ase binary name variables data col rac
原文地址:https://www.cnblogs.com/zhouquan-1992-04-06/p/11440287.html