[英]Where to change the value of `lower_case_table_names=2` on windows mysql?
我正在使用Windows10。我试图创建一个表,该表的名称中的首字母大写,例如: User
,但找不到包含lower_case_table_names
变量的文件。
I know this is 2 years late but I hope to help others with similar problem. 我知道这已经晚了2年,但我希望能帮助其他有类似问题的人。 For those that does not use xampp, the MySQL configuration file should be located at C:\\ProgramData\\MySQL\\MySQL Server 5.7 . 对于不使用xampp的用户,MySQL配置文件应位于C:\\ ProgramData \\ MySQL \\ MySQL Server 5.7 。
Alternatively, you can use MySQL Workbench software to change lower_case_table_names
variable. 另外,您可以使用MySQL Workbench软件来更改lower_case_table_names
变量。
lower_case_table_names
to modify the value to 2. 在常规选项卡中,勾选lower_case_table_names
将值修改为2。 Credits to Technology Explained 学分归功于技术
FYI, remember to restart the MySQL server to reflect the changes! 仅供参考,请记住重新启动MySQL服务器以反映更改!
Do these steps: 执行以下步骤:
From: http://webdev.issimplified.com/2010/03/02/mysql-on-windows-force-table-names-to-lowercase/ 来自: http : //webdev.issimplified.com/2010/03/02/mysql-on-windows-force-table-names-to-lowercase/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.