MySQL distinction between e and é (e acute) - UNIQUE index

前端 未结 4 536
挽巷
挽巷 2020-12-01 09:32

I have a table, students, with 3 columns: id, name, and age. I have a UNIQUE index Index_2 on

4条回答
  •  猫巷女王i
    2020-12-01 10:17

    I know this question is somewhat old now, but what I had to do was remove the primary key on my table and use a regular index, instead. It seems that MySQL doesn't honor utf8_bin's collation in primary keys. I'm using MySQL 5.5.

提交回复
热议问题