在Centos7 下mysql大小写敏感问题,如果我们不处理,则程序会出现找不到表的问题

解决办法:

第一步:编辑/etc/my.cnf文件

在[mysqld]节下 添加 lower_case_table_names=1 参数,
并设置相应的值 (备注:为0时大小写敏感,为1时大小写不敏感,默认为0)。(必须是在[mysqld]节点下添加,否则没有效果)
centos7如何修改mysql数据库的大小写敏感

第二步:重启mysql

service mysqld restart

相关文章:

  • 2021-12-26
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
猜你喜欢
  • 2021-11-26
  • 2021-04-27
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案