linux下mysql不区分大小写

103 阅读1分钟
  1. ROOT登录,vi /etc/my.cnf
  2. 在[mysqld]下加入一行:lower_case_table_names=1(为0时区分)
  3. 保存退出,重启MySQL service mysqld restart