1、修改配置文件

vim /etc/my.cnf

 

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

lower_case_table_names=1

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

 

 

2、重启数据库服务

service mysqld restart

  

没有启动服务时

service mysqld start

  

相关文章:

  • 2021-12-23
  • 2021-10-15
  • 2021-12-03
  • 2021-10-01
  • 2022-12-23
  • 2021-05-28
  • 2021-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2021-05-26
  • 2021-09-01
  • 2021-07-10
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案