How does MySQL table name in Linux be case-insensitive? When I tested the table name in linux, I encountered some problems. When I saw the data, I couldn't find it. Later I found that in Linux,
Mysql table names are case-sensitive, but are case-insensitive in windows. Data scripts exported from windows Use lowercase letters,
In the SQL statement generated by Hibernate, the table name is in uppercase, so no data can be found. Google has some information to modify a mysql parameter, as shown below: In ubuntu,/etc/mysql/my. add lower_case_table_names = 1 0 to the end of [mysqld] In the cnf file, which is case-sensitive. 1. If it is not distinguished, it may also be in/etc/my. cnf, which cannot be used in ubuntu. Www.2cto.com and then restart mysqlsudo/etc/init. d/mysql restart Note: (the following content is taken from the internet) MYSQL in LINUX Database Name, table name, column name, alias case rules are as follows: 1. the Database Name and table name are case sensitive. the table alias is case sensitive. column names and column aliases are case-insensitive in all cases. the variable name is also strictly case sensitive. MYSQL is case insensitive in WINDOWS. Author jpr1990