Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (gbk_chinese_ci,IMPLICIT) for operation 10
mysql>SHOWVARIABLESLIKE'character_set_%';+--------------------------+----------------...
mysql> SHOW VARIABLES LIKE 'character_set_%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | gdk |
| character_set_connection | gdk |
| character_set_database | gdk |
| character_set_results | gdk |
| character_set_server | gdk |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
7 rows in set (0.00 sec)
mysql> SHOW VARIABLES LIKE 'collation_%';
+----------------------+-------------------+
| Variable_name | Value |
+----------------------+-------------------+
| collation_connection | gbk_chinese_ci |
| collation_database | gbk_chinese_ci |
| collation_server | gbk_chinese_ci |
+----------------------+-------------------+
这样为什么他还报错?????Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (gbk_chinese_ci,IMPLICIT) for operation 'concat'哪位大侠看下~~~~ 展开
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | gdk |
| character_set_connection | gdk |
| character_set_database | gdk |
| character_set_results | gdk |
| character_set_server | gdk |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
7 rows in set (0.00 sec)
mysql> SHOW VARIABLES LIKE 'collation_%';
+----------------------+-------------------+
| Variable_name | Value |
+----------------------+-------------------+
| collation_connection | gbk_chinese_ci |
| collation_database | gbk_chinese_ci |
| collation_server | gbk_chinese_ci |
+----------------------+-------------------+
这样为什么他还报错?????Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (gbk_chinese_ci,IMPLICIT) for operation 'concat'哪位大侠看下~~~~ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询