Home  >  Q&A  >  body text

大家开发中mysql数据库排序规则一般用utf8-bin还是utf-8-general-ci

mysql数据库排序规则一般用utf8-bin还是utf-8-general-ci,前者大小写敏感,后者不敏感,大家的习惯一般怎么用,或者什么情况下使用2者

怪我咯怪我咯2743 days ago749

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 15:08:20

    The answer to this question has been explained very clearly. You can refer to it:
    https://segmentfault.com/q/1010000000132450

    There is a comment below that summarizes:

    Unicode solves the accuracy, mainly for German and French; but if it is in China, general is a faster choice.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:08:20

    Always use utf8-general-ci (case insensitive)

    reply
    0
  • Cancelreply