解决翻案:http://stackoverflow.com/questions/1008287/illegal-mix-of-collations-mysql-error
即:
SET collation_connection = ‘utf8_general_ci‘; ALTER DATABASE db CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER TABLE table CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
时间: 2024-11-10 16:12:22