Can't set lower_case_table_names in MySQL 8.x on Windows 10

前端 未结 2 466
孤独总比滥情好
孤独总比滥情好 2021-01-18 02:38

In MySQL 8.0.12 running on Windows 10, it seems impossible to set lower_case_table_names to 2, so as to achieve the appearance of mixed case DB and table names

2条回答
  •  温柔的废话
    2021-01-18 03:19

    8.0.11 changelog:

    It is now prohibited to start the server with a lower_case_table_names setting that is different from the setting used when the server was initialized. The restriction is necessary because collations used by data dictionary table fields are based on the setting defined when the server is initialized, and restarting the server with a different setting would introduce inconsistencies with respect to how identifiers are ordered and compared. (Bug #27309094, Bug #89035)

    See also: https://bugs.mysql.com/bug.php?id=89035

    By --initialized, it is referring the initial install of 8.0. How was that done?

提交回复
热议问题