Mysql错误消息:
致电TESTSP
(1,' super_admin',' Frank Patterson','''',1 )错误代码:1267。非法混合的归类(utf8_unicode_ci,IMPLICIT)和(utf8_general_ci,IMPLICIT)用于操作'喜欢' 0.000秒
MySQL数据库设置
显示'%collat%';
等变量collation_connection utf8_general_ci collation_database latin1_swedish_ci collation_server utf8_general_ci
显示'%char%';
等变量character_set_client utf8 character_set_connection utf8 character_set_database latin1 character_set_filesystem二进制文件 character_set_results utf8 character_set_server utf8 character_set_system utf8 character_sets_dir C:\ Program Files \ MySQL \ MySQL Server 5.6 \ share \ charsets \
character_set_client
= utf8
collation_connection
= utf8_general_ci
db_collation
= utf8_general_ci
同样经过测试
SELECT CONCAT(' ALTER TABLE ', tbl.
TABLE_SCHEMA , '
。', tbl.
TABLE_NAME , '
CONCONERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;')FROM { {1}}。information_schema
tbl WHERE tbl。TABLES
=' dbname'
请建议
你能否提出任何解决方案,因为我浪费了很多时间在这个问题上,但没有运气。另外,我更改了有关字符集的Mysql.ini设置。