设置Linux下Mysql表名不区分大小写


     以root用户登录后,修改/etc/my.cnf文件
     搜素lower_case_table_names,将#lower_case_table_names=1之前的#去掉
     保存,重启mysql
     具体命令如下:
     vi /etc/my.cnf
     :/lower_case_table_names
     i,去掉#
     :wq
     service mysql restart

猜你喜欢

转载自lafecat.iteye.com/blog/2286759