由于大小写敏感问题,先把mysql设置为大小写敏感,修改表名后,再修改成不敏感。mysql
nano /etc/mysql/my.cnfsql
select table_name from information_schema.tables where table_schema='scm' ;
使用编辑器,能够批量修改服务器
alter table BUNDLE_ACTIONS rename bundle_actions;
/etc/init.d/mysql stop && /etc/init.d/mysql start