public static final int DB_ER_PASSWORD_NO_MATCH = 1133; //数据库用户不存在
public static final int DB_ER_NONEXISTING_GRANT = 1141; //现在用户无权访问数据库
public static final int DB_ER_TABLEACCESS_DENIED_ERROR = 1142; //现在用户无权访问数据表
public static final int DB_ER_COLUMNACCESS_DENIED_ERROR = 1143; //现在用户无权访问数据表中的字段
public static final int DB_ER_NO_SUCH_TABLE = 1146; //数据表不存在
public static final int DB_ER_NONEXISTING_TABLE_GRANT = 1147; //未定义用户对数据表的访问权限
public static final int DB_ER_SYNTAX_ERROR = 1149; //SQL语句语法错误
public static final int DB_ER_NET_READ_ERROR = 1158; //网络错误,呈现读错误,请检验网络衔接情况
public static final int DB_ER_NET_READ_INTERRUPTED = 1159; //网络错误,读超时,请检验网络衔接情况
public static final int DB_ER_NET_ERROR_ON_WRITE = 1160; //网络错误,呈现写错误,请检验网络衔接情况
public static final int DB_ER_NET_WRITE_INTERRUPTED = 1161; //网络错误,写超时,请检验网络衔接情况
public static final int DB_ER_DUP_ENTRY = 1062; //字段值重复,入库失败
public static final int DB_ER_DUP_UNIQUE = 1169; //字段值重复,更新记载失败
public static final int DB_ER_CHECK_NO_SUCH_TABLE = 1177; //翻开数据表失败
public static final int DB_ER_ERROR_DURING_COMMIT = 1180; //提交事务失败
public static final int DB_ER_ERROR_DURING_ROLLBACK = 1181; //回滚事务失败
public static final int DB_ER_TOO_MANY_USER_CONNECTIONS = 1203; //现在用户和数据库树立的衔接已抵达数据库的最大衔接数,请增大可用的数据库衔接数或重启数据库
public static final int DB_ER_LOCK_WAIT_TIMEOUT = 1205; //加锁超时
public static final int DB_ER_NO_PERMISSION_TO_CREATE_USER = 1211; //现在用户没有树立用户的权限
public static final int DB_ER_NO_REFERENCED_ROW = 1216; //外键约束检验失败,更新子表记载失败
--转自