Get the App
SLTechnology News&Howtos  ›  Database  › 

Is mysql case sensitive?

Shulou Source: shulou.com Published: 2022-05-31 13:58:23 10月05日 Update

This article introduces the knowledge of "is mysql case-sensitive?". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Lower_case_table_names parameter details: lower_case_table_names = 0 where 0: case-sensitive, 1: case-insensitive MySQL under Linux database name, table name, column name, alias case rules are as follows: 1, database name and table name are strictly case-sensitive; 2. Table aliases are strictly case-sensitive 3, column names and column aliases are case-insensitive in all cases; 4, variable names are also strictly case-sensitive; MySQL is not case-sensitive in Windows.

Whether the mysql field content is case-sensitive depends on the character set create table xxx (...) of the field. The collation si,i of charset utf8 collate utf8_general_si; means that it is case-insensitive. To be case-sensitive, the collation must be the last without I, such as utf8_bincreate table xxx (...). Charset utf8 collate utf8_bin; is case-sensitive.

This is the end of the content of "mysql is case sensitive". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Size content aliases rules fields situations data databases more knowledge sorting utility learning and then representatives parameters depending on variables dilemmas characters Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology vpn OPPO Reno Huawei