Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' in MySQL Stored Procedure

前端 未结 2 1027
广开言路
广开言路 2021-02-02 13:24

I checked the database table and found it was in latin1_swedish_ci so i\'ve changed it to utf8_general_ci then I changed the collation from latin

2条回答
  •  失恋的感觉
    2021-02-02 13:55

    COLLATE utf8_unicode_ci
    

    add to the query end, like this;

    SELECT * FROM table COLLATE utf8_unicode_ci;
    

提交回复
热议问题