问题
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.
回答1:
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.
回答2:
Changing the value to lower_case_table_names = 1 prevents the warning. The windows default is 1. For the setting of this variable see: https://dev.mysql.com/doc/refman/8.0/en/identifier-case-sensitivity.html
来源:https://stackoverflow.com/questions/29191640/lower-case-table-name-error