-- linux未设置默认是0
The default value of this variable is platform-dependent (see lower_case_file_system). On Linux and other Unix-like systems, the default is 0. On Windows the default value is 1. On macOS, the default value is 2. On Linux (and other Unix-like systems), setting the value to 2 is not supported; the server forces the value to 0 instead.
-- 禁止使用与服务器初始化时使用的设置不同的lower_case_table_names启动服务器
It is 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 various data dictionary table fields are determined by 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.
-- 在初始化服务器之前,有必要将lower_case_table_names配置为所需的设置原来需要mysql.0初始化的时候就需要设置好,并且后续不支持修改。于是我又重新用docker部署了一个新的mysql8.0数据库继续测试。
It is therefore necessary to configure lower_case_table_names to the desired setting before initializing the server. In most cases, this requires configuring lower_case_table_names in a MySQL option file before starting the MySQL server for the first time.
欢迎来GreatSQL社区发帖提问
https://greatsql.cn/
微信:扫码添加GreatSQL社区助手微信好友,发送验证信息加群。
欢迎光临 IT评测·应用市场-qidao123.com (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |