错误提示如下: select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't existselect AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist select AlarmType,RefreshTime from CLD_AlarmSetting where 1=1 ExecuteData Table 'cldcustdata.CLD_AlarmSetting' doesn't exist
原因:表名为大写,找不到表
解决办法: 编辑mysql配置文件:vi /etc/my.cnf 添加:lower_case_table_names=1 一句到文件中。
[mysqld]
重启mysql 问题解决。 (责任编辑:IT) |