mysql 表名不区分大小写

直接设置:

mysql> set lower_case_table_names=1;
ERROR 1238 (HY000): Variable 'lower_case_table_names' is a read only variable

在/etc/my.cnf的[mysqld]下增加

lower_case_table_names = 1

posted @ 2012-06-27 20:26  ybtyoyo  阅读(267)  评论(0编辑  收藏  举报