MySQL table name ignores case setting under linux

mysql> show variables like "%case%";

+------------------------+-------+
| Variable_name          | Value |
+------------------------+-------+
| lower_case_file_system | OFF   | 
| lower_case_table_names | 0     | 
+------------------------+-------+
2 rows in set (0.00 sec)

******************************************

 

lower_case_file_system | OFF indicates that the current case is case sensitive

 

Modification method

1. Login with ROOT, vi /etc/my.cnf
2. Add a line under [mysqld]: lower_case_table_names=1 //(different when it is 0)
3. Save and exit, restart MySQL

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326681840&siteId=291194637