[linux卸载mysql]linux上mysql报错:Table “xxx” doesn’t exist如何解决

更新时间:2019-08-14    来源:linux    手机版     字体:

【www.bbyears.com--linux】

问题linux上的mysql出Table "xxx" doesn"t exist错误

原因linux 上的mysql 默认是区分大小写导致的。

解决
:改动mysql的配置文件,在my.cnf中的[mysqld]下面(位置不能错)加上lower_case_table_name=1这句(1表示不区分大小写,0区分大小写),保存重新启动mysql。

没有my.cnf文件,如果是默认安装执行以下列操作

[root@hqw mysql]# cp /usr/share/mysql/my-huge.cnf  /etc/my.cnf

再my.cnf加入配置信息

本文来源:http://www.bbyears.com/caozuoxitong/62107.html