mysql case sensitive in utf8_general_ci

后端 未结 3 2036
感情败类
感情败类 2021-02-13 13:55

I\'ve a mysql database where i use utf8_general_ci (that is case insensitive), and in my tables i have some columns like ID with case-sensitive data (example: \'iSZ6fX\' or \'As

3条回答
  •  情书的邮戳
    2021-02-13 14:33

    It is better to use columns with 'utf8_bin' rather than specifying the condition in query, because it reduces the chances of errors.

提交回复
热议问题