是不一样,locale是18030,数据库设的是gbk。
[code:1]mysql> show variables like 'character_set';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| character_set | gbk |
+---------------+-------+
1 row in set (0.00 sec)
mysql> [/code:1]
我想把数据库改成18030,没成
[code:1][root@local root]# mysql
mysql: Character set 'gb18030' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index' file[/code:1]
是不是要改locale,改的话我担心其他的程序可能有问题