MySQL: Can't give tables a name in Upper Camel Case (Pascal Case)

Pascal Klein picture Pascal Klein · Dec 5, 2010 · Viewed 14.1k times · Source

I read that it is best practise to have table names in Pascal Case (ThisIsMyTableName). Therefor I would like to change my tables in MySQL. But neither phpmyadmin, nore SQL Manager 2005 for MySQL will let me. The names stay to appear in lowercase, as if I didn't to a change at all.

Any suggestions to solve this problem?

Answer

swisscheese picture swisscheese · Apr 6, 2011

The easiest way to take care of this is to add the following to your .ini file

lower_case_table_names=2

2 is the significance here for Windows. You can read more about it here Identifier Case Sensitivity