天将window的项目迁移到linux上面,然后登录时一直报用户表找不到的错误信息. 检查发现数据库中的表名是m_user, 后来才想起来是大小写问题, 找到问题原因,解决方案如下: 修改/etc/my.cnf ,在[mysqld]下面添加一行,然后重启mysql数据库即可. service mysql stop service mysql start # 设置mysql表名不区分大小写lower_case_table_names=1…
今天改他们的代码的时候,遇到了MySQL表名和数据库关键字的问题. 由于表名是关键字,导致增删改查都报错. Hibernate: select leave0_.id as id22_, leave0_.stuNumber as stuNumber22_, leave0_.stuName as stuName22_, leave0_.academy as academy22_, leave0_.classes as classes22_, leave0_.leaveDays as leaveDay…
2015-08-27 php大力力021.mysql表名在mac下不能大写 刚才数据库里面,phpMyAdmin狂出错. Some errors have been detected on the server! Please look at the bottom of this window. Notice in ./libraries/structure.lib.php#1868 Undefined index: Rows Backtrace ./libraries/structure.li…