MySQL Forums
Forum List  »  Install & Repo

Re: Linux - can't change lower_case_table_names variable
Posted by: Rich F
Date: October 23, 2007 01:59PM

Ok, MySQL will let me change the lower_case_table_names variable to 1 and accept the value on server start up but will not accept a value of 2. I'd rather set the value to 2 if it's possible......

This is from http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html

Value Meaning
0 Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement. Name comparisons are case sensitive. Note that if you force this variable to 0 with --lower-case-table-names=0 on a case-insensitive filesystem and access MyISAM tablenames using different lettercases, index corruption may result.
1 Table names are stored in lowercase on disk and name comparisons are not case sensitive. MySQL converts all table names to lowercase on storage and lookup. This behavior also applies to database names and table aliases.
2 Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement, but MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive. This works only on filesystems that are not case sensitive! InnoDB table names are stored in lowercase, as for lower_case_table_names=1.

Options: ReplyQuote


Subject
Written By
Posted
Re: Linux - can't change lower_case_table_names variable
October 23, 2007 01:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.