How to force case sensitive table names?

前端 未结 6 1783
花落未央
花落未央 2020-11-30 03:15

I\'m working on a MySQL database in windows.

I must move it into a Linux environment. MySQL database contains a lot of tables and stored procedures which are CASE

6条回答
  •  渐次进展
    2020-11-30 03:48

    i add this line and it solve the different case problem

    lower_case_table_names=1

    in /etc/my.cnf

    you can see how to set mysql variable "lower_case_table_names" form this page : https://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_lower_case_table_names

提交回复
热议问题