2、修改/etc/my.cof配置文件, # sed -i ‘/mysqld/a\lower_case_table_names=1‘ /etc/my.cnf
lower_case_table_names参数详解: ?0:区分大小写 ?1:不区分大小写
3、重启MySQL # service mysqld restart
4、查看mqsql参数 # mysql -uroot -p > show variables like "%case%" ; +------------------------+-------+ | Variable_name | Value | +------------------------+-------+ | lower_case_file_system | OFF | | lower_case_table_names | 1 | +------------------------+-------+ 2 rows in set (0.00 sec)