How can I make mysqldump keep case-sensitive table names?

I am trying to migrate a database from windows to a linux host.

Thanks!

Ashley

+5
source share
3 answers

You will not find table names in linux mysql, because its default value is case sensitive. And for windows - not case sensitive.

I cannot guess if ignoring case sensitivity works for you. But you can do it by adding a line to my.conf. i.e. make mysql on linux case insensitive.

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

Error 33898 suggests setting lower_case_table_names=2.

0
source

All Articles