[plain] view plain copy #If set to 0, table names are stored as specified and comparisons are case sensitive. #If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. #If set to 2, table names are stored as given but compared in lowercase. This option also applies to database names and table aliases. lower_case_table_names=0 2.MySQL在查詢字符串時(shí)是大小寫不敏感的。如某字段值需要區(qū)分大小寫,可在定義該字段時(shí)指定BINARY屬性。