12
Jun

mysql case sensitive table name problem

   Posted by: Vivek Khokhar   in mysql

As the title suggests, this is about mysql on case sensitive filesystem on *nix  Systems.
Situation is I had all my application written with SQL having uppercase table names.
But the mysql on linux had all in lowercase.
Quick Fix is to tell mysqlserver not to compare case while looking up table names
Edit /etc/my.cnf and add following setting.
[mysqld]
lower_case_table_names=1
Save File and Restart Mysql
Cross check variable value as follows
#mysqladmin variables
Done
This entry was posted on Monday, June 12th, 2006 at 10:23 pm and is filed under mysql. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

You must be logged in to post a comment.