Are table names in MySQL case sensitive?
On my Windows development machine the code I have is able to query my tables which appear to be all lowercase. When I deploy to the test server in our datacenter the table names appear to start with an uppercase letter.
The servers we use are all on Ubuntu.
Best Answer
In general:
Database and table names are not case sensitive in Windows, and case sensitive in most varieties of Unix.
One can configure how tables names are stored on the disk using the system variable
lower_case_table_names
(in the my.cnf configuration file under [mysqld]).Read the section: 10.2.2 Identifier Case Sensitivity for more information.