How can I get mysqldump to preserve the case of table names?

帅比萌擦擦* 提交于 2019-12-04 07:03:53

You are not finding the the table names under linux mysql, coz its default is case-sensitive. And for windows its case-insensitive.

I can't guess if ignoring case sensitivity works for you. But you can do by adding a line in my.conf. i.e. making mysql in linux to be case insensitive.

mysqlserver:~# vi /etc/mysql/my.cnf
...
[mysqld]
lower_case_table_names = 1

Bug 33898 suggests setting lower_case_table_names=2.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!