MySQL设置为不区分大小写

1、修改配置文件

vim /etc/my.cnf

 在 [mysqld] 节的最后加上这句:lower_case_table_names=1

2、重启MySQL服务

service mysqld restart

搞定!

猜你喜欢

转载自www.cnblogs.com/qscfyuk/p/11887212.html