Where to change the value of lower_case_table_names=2 on windows xampp(在 windows xampp 上在哪里更改 lower_case_table_names=2 的值)
问题描述
我正在使用 Windows 7 和 xampp
我正在尝试导出我的数据库,并且在此过程中表名被转换为 小写
.我已经搜索了很多,我知道我必须将 lower_case_table_names
的值从 0
更改为 2
但我必须更改此值,在哪个文件中?
I am using windows 7 and xampp
i am trying to export my database and while in the process the table names are converted to lower case
. I have searched a lot, i know i have to change the value of lower_case_table_names
from 0
to 2
but where i have to change this value, in which file?
推荐答案
执行以下步骤:
- 打开你的 MySQL 配置文件:[drive]\xampp\mysql\bin\my.ini
- 查找:
# MySQL服务器[mysqld]
- 在它的正下方添加:
lower_case_table_names = 2
- 保存文件并重启 MySQL 服务
来自:http://webdev.issimplified.com/2010/03/02/mysql-on-windows-force-table-names-to-lowercase/
这篇关于在 windows xampp 上在哪里更改 lower_case_table_names=2 的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 windows xampp 上在哪里更改 lower_case_table_names=2 的值


基础教程推荐
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01