Linux(centos) 设置MySQL数据库不区分大小写

1、修改配置文件

vim /etc/my.cnf

在[mysqld]节点下,加入一行:

lower_case_table_names=1

 

2、重启数据库服务

service mysqld restart

  

没有启动服务时

service mysqld start

  

猜你喜欢

转载自www.cnblogs.com/pxblog/p/12368220.html