1、编辑mysql配置文件my.cnf 2、在[mysqld]下添加一行 lower_case_table_names=1#0表示区分大小写,1表示不区分大小写 转载于:https://www.cnblogs.com/forever521Lee/p/9970838.html