Can I force MySql table name case sensitivity on file systems that aren't case sensitive

Posted by Brian Deacon on Stack Overflow See other posts from Stack Overflow or by Brian Deacon
Published on 2010-04-28T15:58:48Z Indexed on 2010/04/28 16:03 UTC
Read the original article Hit count: 542

Filed under:
|

So our target environment is linux, making mysql case-sensitive by default. I am aware that we can make our linux environment not case sensitive with the lower_case_table_names variable, but we would rather not. We have a few times been bitten with a case mismatch because our dev rigs are OSX, and mysql is not case sensitive there.

Is there a way we can force table names to be case sensitive on my OSX install of MySql (5.0.83 if that matters) so that we catch a table name case mismatch prior to deploying to the integration servers running on linux?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about case-sensitive