1.show variables like 'lower%'
2.在my.cnf中的[mysqld]后面添加lower_case_table_names=1
3.重启mysql service mysqld restart