Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lower_case_table_name Error

I'm trying to set the lower_case_table_name value to 2, since it is a Windows server. But when I start MySQL Workbench and connect to my server I get the following error:

A server is in a system that does not properly support the selected lower_case_table_names option value.

Shouldn't a Windows server support a value of 2? I'm running MySQL 5.6 on Windows Server 2012 and using MySQL Workbench 6.3.

like image 784
Bernie Hunt Avatar asked Mar 22 '15 06:03

Bernie Hunt


People also ask

What is lower_case_table_names?

The lower_case_table_names system variable also affects how the server handles identifier case sensitivity, as described later in this section. Although database, table, and trigger names are not case-sensitive on some platforms, you should not refer to one of these using different cases within the same statement.

Is MySQL 8.0 stable?

MySQL 8.0 increases the overall reliability of MySQL because : MySQL 8.0 stores its meta-data into InnoDB, a proven transactional storage engine. System tables such as Users and Privileges as well as Data Dictionary tables now reside in InnoDB. MySQL 8.0 eliminates one source of potential inconsistency.

Is MySQL case-sensitive?

By default, it depends on the operating system and its case sensitivity. This means MySQL is case-insensitive in Windows and macOS, while it is case-sensitive in most Linux systems. However, you can change the behavior by changing collation.


1 Answers

You can safely ignore this error.

I recently installed MySQL on a new Windows computer and got this error as well after setting lower_case_table_names to 2. I don't remember seeing it previously. However, despite the error it seems to be working properly..tables are created with the proper case and I can do case-insensitive lookups.

like image 167
Samuel Neff Avatar answered Nov 06 '22 04:11

Samuel Neff