当前位置: 移动技术网 > IT编程>数据库>Mysql > MySQL错误代码大全

MySQL错误代码大全

2017年12月12日  | 移动技术网IT编程  | 我要评论

美型妖精大混战108,315档案网,丁丁特价

b.1. 服务器错误代码和消息
服务器错误信息来自下述源文件:

· 错误消息信息列在share/errmsg.txt文件中。“%d”和“%s”分别代表编号和字符串,显示时,它们将被消息值取代。

· 错误值列在share/errmsg.txt文件中,用于生成include/mysqld_error.h和include/mysqld_ername.h mysql源文件中的定义。

· sqlstate值列在share/errmsg.txt文件中,用于生成include/sql_state.h mysql源文件中的定义。

由于更新很频繁,这些文件中可能包含这里未列出的额外错误消息。

· 错误:1000 sqlstate: hy000 (er_hashchk)

消息:hashchk

· 错误:1001 sqlstate: hy000 (er_nisamchk)

消息:isamchk

· 错误:1002 sqlstate: hy000 (er_no)

消息:no

· 错误:1003 sqlstate: hy000 (er_yes)

消息:yes

· 错误:1004 sqlstate: hy000 (er_cant_create_file)

消息:无法创建文件'%s' (errno: %d)

· 错误:1005 sqlstate: hy000 (er_cant_create_table)

消息:无法创建表'%s' (errno: %d)

· 错误:1006 sqlstate: hy000 (er_cant_create_db)

消息:无法创建数据库'%s' (errno: %d)

· 错误:1007 sqlstate: hy000 (er_db_create_exists)

消息:无法创建数据库'%s',数据库已存在。

· 错误:1008 sqlstate: hy000 (er_db_drop_exists)

消息:无法撤销数据库'%s',数据库不存在。

· 错误:1009 sqlstate: hy000 (er_db_drop_delete)

消息:撤销数据库时出错(无法删除'%s',errno: %d)

· 错误:1010 sqlstate: hy000 (er_db_drop_rmdir)

消息:撤销数据库时出错(can't rmdir '%s', errno: %d)

· 错误:1011 sqlstate: hy000 (er_cant_delete_file)

消息:删除'%s'时出错 (errno: %d)

· 错误:1012 sqlstate: hy000 (er_cant_find_system_rec)

消息:无法读取系统表中的记录。

· 错误:1013 sqlstate: hy000 (er_cant_get_stat)

消息:无法获取'%s'的状态(errno: %d)

· 错误:1014 sqlstate: hy000 (er_cant_get_wd)

消息:无法获得工作目录(errno: %d)

· 错误:1015 sqlstate: hy000 (er_cant_lock)

消息:无法锁定文件(errno: %d)

· 错误:1016 sqlstate: hy000 (er_cant_open_file)

消息:无法打开文件:'%s' (errno: %d)

· 错误:1017 sqlstate: hy000 (er_file_not_found)

消息:无法找到文件: '%s' (errno: %d)

· 错误:1018 sqlstate: hy000 (er_cant_read_dir)

消息:无法读取'%s'的目录 (errno: %d)

· 错误:1019 sqlstate: hy000 (er_cant_set_wd)

消息:无法为'%s'更改目录 (errno: %d)

· 错误:1020 sqlstate: hy000 (er_checkread)

消息:自上次读取以来表'%s'中的记录已改变。

· 错误:1021 sqlstate: hy000 (er_disk_full)

消息:磁盘满(%s);等待某人释放一些空间...

· 错误:1022 sqlstate: 23000 (er_dup_key)

消息:无法写入;复制表'%s'的 键。

· 错误:1023 sqlstate: hy000 (er_error_on_close)

消息:关闭'%s'时出错 (errno: %d)

· 错误:1024 sqlstate: hy000 (er_error_on_read)

消息:读取文件'%s'时出错 (errno: %d)

· 错误:1025 sqlstate: hy000 (er_error_on_rename)

消息:将'%s'重命名为'%s'时出错 (errno: %d)

· 错误:1026 sqlstate: hy000 (er_error_on_write)

消息:写入文件'%s'时出错 (errno: %d)

· 错误:1027 sqlstate: hy000 (er_file_used)

消息:'%s'已锁定,拒绝更改。

· 错误:1028 sqlstate: hy000 (er_filsort_abort)

消息:分类失败

· 错误:1029 sqlstate: hy000 (er_form_not_found)

消息:对于'%s',视图'%s'不存在。

· 错误:1030 sqlstate: hy000 (er_get_errno)

消息:从存储引擎中获得错误%d。

· 错误:1031 sqlstate: hy000 (er_illegal_ha)

消息:关于'%s'的表存储引擎不含该选项。

· 错误:1032 sqlstate: hy000 (er_key_not_found)

消息:无法在'%s'中找到记录。

· 错误:1033 sqlstate: hy000 (er_not_form_file)

消息:文件中的不正确信息:'%s'

· 错误:1034 sqlstate: hy000 (er_not_keyfile)

消息:对于表'%s', 键文件不正确,请尝试修复。

· 错误:1035 sqlstate: hy000 (er_old_keyfile)

消息:旧的键文件,对于表'%s',请修复之!

· 错误:1036 sqlstate: hy000 (er_open_as_readonly)

消息:表'%s'是只读的。

· 错误:1037 sqlstate: hy001 (er_outofmemory)

消息:内存溢出,重启服务器并再次尝试(需要%d字节)。

· 错误:1038 sqlstate: hy001 (er_out_of_sortmemory)

消息:分类内存溢出,增加服务器的分类缓冲区大小。

· 错误:1039 sqlstate: hy000 (er_unexpected_eof)

消息:读取文件'%s'时出现意外eof (errno: %d)

· 错误:1040 sqlstate: 08004 (er_con_count_error)

消息:连接过多。

· 错误:1041 sqlstate: hy000 (er_out_of_resources)

消息:内存溢出,请检查是否mysqld或其他进程使用了所有可用内存,如不然,或许应使用'ulimit'允许mysqld使用更多内存,或增加交换空间的大小。

· 错误:1042 sqlstate: 08s01 (er_bad_host_error)

消息:无法获得该地址给出的主机名。

· 错误:1043 sqlstate: 08s01 (er_handshake_error)

消息:不良握手

· 错误:1044 sqlstate: 42000 (er_dbaccess_denied_error)

消息:拒绝用户'%s'@'%s'访问数据库'%s'。

· 错误:1045 sqlstate: 28000 (er_access_denied_error)

消息:拒绝用户'%s'@'%s'的访问(使用密码:%s)

· 错误:1046 sqlstate: 3d000 (er_no_db_error)

消息:未选择数据库。

· 错误:1047 sqlstate: 08s01 (er_unknown_com_error)

消息:未知命令。

· 错误:1048 sqlstate: 23000 (er_bad_null_error)

消息:列'%s'不能为空。

· 错误:1049 sqlstate: 42000 (er_bad_db_error)

消息:未知数据库'%s'。

· 错误:1050 sqlstate: 42s01 (er_table_exists_error)

消息:表'%s'已存在。

· 错误:1051 sqlstate: 42s02 (er_bad_table_error)

消息:未知表'%s'。

· 错误:1052 sqlstate: 23000 (er_non_uniq_error)

消息:%s中的列'%s'不明确。

· 错误:1053 sqlstate: 08s01 (er_server_shutdown)

消息:在操作过程中服务器关闭。

· 错误:1054 sqlstate: 42s22 (er_bad_field_error)

消息:'%s'中的未知列'%s'。

· 错误:1055 sqlstate: 42000 (er_wrong_field_with_group)

消息:'%s'不在group by中。

· 错误:1056 sqlstate: 42000 (er_wrong_group_field)

消息:无法在'%s'上创建组。

· 错误:1057 sqlstate: 42000 (er_wrong_sum_select)

消息:语句中有sum函数和相同语句中的列。

· 错误:1058 sqlstate: 21s01 (er_wrong_value_count)

消息:列计数不匹配值计数。

· 错误:1059 sqlstate: 42000 (er_too_long_ident)

消息:id名称'%s'过长。

· 错误:1060 sqlstate: 42s21 (er_dup_fieldname)

消息:重复列名'%s'。

· 错误:1061 sqlstate: 42000 (er_dup_keyname)

消息:重复键名称'%s'。

· 错误:1062 sqlstate: 23000 (er_dup_entry)

消息:键%d的重复条目'%s'。

· 错误:1063 sqlstate: 42000 (er_wrong_field_spec)

消息:对于列'%s',列分类符不正确。

· 错误:1064 sqlstate: 42000 (er_parse_error)

消息:在行%d上,%s靠近'%s'。

· 错误:1065 sqlstate: 42000 (er_empty_query)

消息:查询为空。

· 错误:1066 sqlstate: 42000 (er_nonuniq_table)

消息:非唯一的表/别名:'%s'

· 错误:1067 sqlstate: 42000 (er_invalid_default)

消息:关于'%s'的无效默认值。

· 错误:1068 sqlstate: 42000 (er_multiple_pri_key)

消息:定义了多个主键。

· 错误:1069 sqlstate: 42000 (er_too_many_keys)

消息:指定了过多键:允许的最大键数是%d。

· 错误:1070 sqlstate: 42000 (er_too_many_key_parts)

消息:指定了过多键部分:允许的最大键部分是%d。

· 错误:1071 sqlstate: 42000 (er_too_long_key)

消息:指定的键过长,最大键长度是%d字节。

· 错误:1072 sqlstate: 42000 (er_key_column_does_not_exits)

消息:键列'%s'在表中不存在。

· 错误:1073 sqlstate: 42000 (er_blob_used_as_key)

消息:blob列'%s'不能与已使用的表类型用在 键说明中。

· 错误:1074 sqlstate: 42000 (er_too_big_fieldlength)

消息:对于列'%s',列长度过大 (max = %d),请使用blob或text取而代之。

· 错误:1075 sqlstate: 42000 (er_wrong_auto_key)

消息:不正确的表定义,只能有1个auto列,而且必须将其定义为 键。

· 错误:1076 sqlstate: hy000 (er_ready)

消息:%s,连接就绪。版本:'%s',套接字:'%s',端口:%d

· 错误:1077 sqlstate: hy000 (er_normal_shutdown)

消息:%s,正常关闭。

· 错误:1078 sqlstate: hy000 (er_got_signal)

消息:%s,获得信号%d。放弃!

· 错误:1079 sqlstate: hy000 (er_shutdown_complete)

消息:%s,关闭完成

· 错误:1080 sqlstate: 08s01 (er_forcing_close)

消息:%s,强制关闭线程%ld,用户:'%s'

· 错误:1081 sqlstate: 08s01 (er_ipsock_error)

消息:无法创建ip套接字

· 错误:1082 sqlstate: 42s12 (er_no_such_index)

消息:表'%s'中没有与create index中索引类似的索引,重新创建表。

· 错误:1083 sqlstate: 42000 (er_wrong_field_terminators)

消息:字段分隔符参量不是预期的,请参考手册。

· 错误:1084 sqlstate: 42000 (er_blobs_and_no_terminated)

消息:不能与blob一起使用固定行长度,请使用'fields terminated by'。

· 错误:1085 sqlstate: hy000 (er_textfile_not_readable)

消息:文件'%s'必须在数据库目录下,或能被所有人读取。

· 错误:1086 sqlstate: hy000 (er_file_exists_error)

消息:文件'%s'已存在。

· 错误:1087 sqlstate: hy000 (er_load_info)

消息:记录,%ld;已删除,%ld;已跳过,%ld;警告,%ld

· 错误:1088 sqlstate: hy000 (er_alter_info)

消息:记录,%ld;重复,%ld

· 错误:1089 sqlstate: hy000 (er_wrong_sub_key)

消息:不正确的子部分键,使用的键部分不是字符串,所用的长度长于键部分,或存储引擎不支持唯一子键。

· 错误:1090 sqlstate: 42000 (er_cant_remove_all_fields)

消息:不能用alter table删除所有列,请使用drop table取而代之。

· 错误:1091 sqlstate: 42000 (er_cant_drop_field_or_key)

消息:不能撤销'%s',请检查列/键是否存在。

· 错误:1092 sqlstate: hy000 (er_insert_info)

消息:记录,%ld;复制,%ld;告警,%ld

· 错误:1093 sqlstate: hy000 (er_update_table_used)

消息:不能在from子句中制定要更新的目标表'%s'。

· 错误:1094 sqlstate: hy000 (er_no_such_thread)

消息:未知线程id:%lu

· 错误:1095 sqlstate: hy000 (er_kill_denied_error)

消息:你不是线程%lu的所有者。

· 错误:1096 sqlstate: hy000 (er_no_tables_used)

消息:未使用任何表。

· 错误:1097 sqlstate: hy000 (er_too_big_set)

消息:列%s和set的字符串过多。

· 错误:1098 sqlstate: hy000 (er_no_unique_logfile)

消息:不能生成唯一的日志文件名%s.(1-999)

· 错误:1099 sqlstate: hy000 (er_table_not_locked_for_write)

消息:表'%s'已用read锁定,不能更新。

· 错误:1100 sqlstate: hy000 (er_table_not_locked)

消息:未使用lock tables锁定表'%s'。

· 错误:1101 sqlstate: 42000 (er_blob_cant_have_default)

消息:blob/text列'%s'不能有默认值。

· 错误:1102 sqlstate: 42000 (er_wrong_db_name)

消息:不正确的数据库名'%s'。

· 错误:1103 sqlstate: 42000 (er_wrong_table_name)

消息:不正确的表名'%s'。

· 错误:1104 sqlstate: 42000 (er_too_big_select)

消息:select将检查超过max_join_size的行,如果select正常,请检查where,并使用set sql_big_selects=1或set sql_max_join_size=#。

· 错误:1105 sqlstate: hy000 (er_unknown_error)

消息:未知错误。

· 错误:1106 sqlstate: 42000 (er_unknown_procedure)

消息:未知过程'%s'

· 错误:1107 sqlstate: 42000 (er_wrong_paramcount_to_procedure)

消息:对于过程'%s',参数计数不正确

· 错误:1108 sqlstate: hy000 (er_wrong_parameters_to_procedure)

消息:对于过程'%s',参数不正确

· 错误:1109 sqlstate: 42s02 (er_unknown_table)

消息:%s中的未知表%s

· 错误:1110 sqlstate: 42000 (er_field_specified_twice)

消息:列'%s'被指定了两次。

· 错误:1111 sqlstate: hy000 (er_invalid_group_func_use)

消息:无效的分组函数使用

· 错误:1112 sqlstate: 42000 (er_unsupported_extension)

消息:表'%s'使用了该mysql版本中不存在的扩展。

· 错误:1113 sqlstate: 42000 (er_table_must_have_columns)

消息:1个表至少要有1列。

· 错误:1114 sqlstate: hy000 (er_record_file_full)

消息:表'%s'已满。

· 错误:1115 sqlstate: 42000 (er_unknown_character_set)

消息:未知字符集'%s'。

· 错误:1116 sqlstate: hy000 (er_too_many_tables)

消息:表过多,mysql在1个联合操作中只能使用%d个表。

· 错误:1117 sqlstate: hy000 (er_too_many_fields)

消息:列过多。

· 错误:1118 sqlstate: 42000 (er_too_big_rowsize)

消息:行的大小过大。对于所使用的表类型,不包括blob,最大行大小为%ld。必须将某些列更改为text或blob。

· 错误:1119 sqlstate: hy000 (er_stack_overrun)

消息:线程堆栈溢出,已使用,%ld堆栈的%ld。如果需要,请使用'mysqld -o thread_stack=#'指定较大的堆栈。

· 错误:1120 sqlstate: 42000 (er_wrong_outer_join)

消息:在outer join中发现交叉关联,请检查on条件。

· 错误:1121 sqlstate: 42000 (er_null_column_in_index)

消息:列'%s'与unique或index一起使用,但未定义为not null。

· 错误:1122 sqlstate: hy000 (er_cant_find_udf)

消息:无法加载函数'%s'。

· 错误:1123 sqlstate: hy000 (er_cant_initialize_udf)

消息:无法初始化函数'%s'; %s

· 错误:1124 sqlstate: hy000 (er_udf_no_paths)

消息:对于共享库,不允许任何路径。

· 错误:1125 sqlstate: hy000 (er_udf_exists)

消息:函数'%s'已存在。

· 错误:1126 sqlstate: hy000 (er_cant_open_library)

消息:不能打开共享库'%s' (errno: %d %s)

· 错误:1127 sqlstate: hy000 (er_cant_find_dl_entry)

消息:不能发现库中的符号'%s'。

· 错误:1128 sqlstate: hy000 (er_function_not_defined)

消息:函数'%s'未定义。

· 错误:1129 sqlstate: hy000 (er_host_is_blocked)

消息:由于存在很多连接错误,主机'%s'被屏蔽,请用'mysqladmin flush-hosts'解除屏蔽。

· 错误:1130 sqlstate: hy000 (er_host_not_privileged)

消息:不允许将主机'%s'连接到该mysql服务器。

· 错误:1131 sqlstate: 42000 (er_password_anonymous_user)

消息:你正在已匿名用户身份使用mysql,不允许匿名用户更改密码。

· 错误:1132 sqlstate: 42000 (er_password_not_allowed)

消息:必须有更新mysql数据库中表的权限才能更改密码。

· 错误:1133 sqlstate: 42000 (er_password_no_match)

消息:无法在用户表中找到匹配行。

· 错误:1134 sqlstate: hy000 (er_update_info)

消息:行匹配,%ld;已更改,%ld;警告,%ld

· 错误:1135 sqlstate: hy000 (er_cant_create_thread)

消息:无法创建新线程(errno %d),如果未出现内存溢出,请参阅手册以了解可能的与操作系统有关的缺陷。

· 错误:1136 sqlstate: 21s01 (er_wrong_value_count_on_row)

消息:列计数不匹配行%ld上的值计数。

· 错误:1137 sqlstate: hy000 (er_cant_reopen_table)

消息:无法再次打开表'%s'。

· 错误:1138 sqlstate: 22004 (er_invalid_use_of_null)

消息:null值使用无效。

· 错误:1139 sqlstate: 42000 (er_regexp_error)

消息:获得来自regexp的错误'%s'。

· 错误:1140 sqlstate: 42000 (er_mix_of_group_func_and_fields)

消息:如果没有group by子句,group列 (min(),max(),count(),...)与非group列的混合不合法。

· 错误:1141 sqlstate: 42000 (er_nonexisting_grant)

消息:没有为主机'%s'上的用户'%s'定义这类授权。

· 错误:1142 sqlstate: 42000 (er_tableaccess_denied_error)

消息:拒绝用户'%s'@'%s'在表'%s'上使用%s命令。

· 错误:1143 sqlstate: 42000 (er_columnaccess_denied_error)

消息:拒绝用户'%s'@'%s'在表'%s'的'%s'上使用%s命令。

· 错误:1144 sqlstate: 42000 (er_illegal_grant_for_table)

消息:非法grant/revoke命令,请参阅手册以了解可使用那种权限。

· 错误:1145 sqlstate: 42000 (er_grant_wrong_host_or_user)

消息:grant的主机或用户参量过长。

· 错误:1146 sqlstate: 42s02 (er_no_such_table)

消息:表'%s.%s'不存在。

· 错误:1147 sqlstate: 42000 (er_nonexisting_table_grant)

消息:在表'%s'上没有为主机'%s'上的用户'%s'定义的这类授权。

· 错误:1148 sqlstate: 42000 (er_not_allowed_command)

消息:所使用的命令在该mysql版本中不允许。

· 错误:1149 sqlstate: 42000 (er_syntax_error)

消息:存在sql语法错误,请参阅与你的mysql版本对应的手册,以了解正确的语法。

· 错误:1150 sqlstate: hy000 (er_delayed_cant_change_lock)

消息:对于表%s,延迟的插入线程不能获得请求的锁定。

· 错误:1151 sqlstate: hy000 (er_too_many_delayed_threads)

消息:使用的延迟线程过多。

· 错误:1152 sqlstate: 08s01 (er_aborting_connection)

消息:与数据库'%s'和用户'%s'的连接%ld失败 (%s)

· 错误:1153 sqlstate: 08s01 (er_net_packet_too_large)

消息:获得信息包大于'max_allowed_packet'字节。

· 错误:1154 sqlstate: 08s01 (er_net_read_error_from_pipe)

消息:获得来自连接管道的读错误。

· 错误:1155 sqlstate: 08s01 (er_net_fcntl_error)

消息:获得来自fcntl()的错误。

· 错误:1156 sqlstate: 08s01 (er_net_packets_out_of_order)

消息:获得信息包无序。

· 错误:1157 sqlstate: 08s01 (er_net_uncompress_error)

消息:无法解压缩通信信息包。

· 错误:1158 sqlstate: 08s01 (er_net_read_error)

消息:读取通信信息包时出错。

· 错误:1159 sqlstate: 08s01 (er_net_read_interrupted)

消息:读取通信信息包时出现超时。

· 错误:1160 sqlstate: 08s01 (er_net_error_on_write)

消息:写入通信信息包时出错。

· 错误:1161 sqlstate: 08s01 (er_net_write_interrupted)

消息:写入通信信息包时出现超时。

· 错误:1162 sqlstate: 42000 (er_too_long_string)

消息:结果字符串长于'max_allowed_packet'字节。

· 错误:1163 sqlstate: 42000 (er_table_cant_handle_blob)

消息:所使用的表类型不支持blob/text列。

· 错误:1164 sqlstate: 42000 (er_table_cant_handle_auto_increment)

消息:所使用的表类型不支持auto_increment列。

· 错误:1165 sqlstate: hy000 (er_delayed_insert_table_locked)

消息:由于用lock tables锁定了表,insert delayed不能与表'%s'一起使用。

· 错误:1166 sqlstate: 42000 (er_wrong_column_name)

消息:不正确的列名'%s'。

· 错误:1167 sqlstate: 42000 (er_wrong_key_column)

消息:所使用的存储引擎不能为列'%s'编制索引。

· 错误:1168 sqlstate: hy000 (er_wrong_mrg_table)

消息:merge表中的所有表未同等定义。

· 错误:1169 sqlstate: 23000 (er_dup_unique)

消息:由于唯一性限制,不能写入到表'%s'。

· 错误:1170 sqlstate: 42000 (er_blob_key_without_length)

消息:在未指定键长度的键说明中使用了blob/text列'%s'。

· 错误:1171 sqlstate: 42000 (er_primary_cant_have_null)

消息:primary key的所有部分必须是not null,如果需要为null的关键字,请使用unique取而代之。

· 错误:1172 sqlstate: 42000 (er_too_many_rows)

消息:结果有1个以上的行组成。

· 错误:1173 sqlstate: 42000 (er_requires_primary_key)

消息:该表类型要求主键。

· 错误:1174 sqlstate: hy000 (er_no_raid_compiled)

消息:该mysql版本是未使用raid支持而编译的。

· 错误:1175 sqlstate: hy000 (er_update_without_key_in_safe_mode)

消息:你正在使用安全更新模式,而且试图在不使用where的情况下更新使用了key列的表。

· 错误:1176 sqlstate: hy000 (er_key_does_not_exits)

消息:在表'%s'中,键'%s'不存在。

· 错误:1177 sqlstate: 42000 (er_check_no_such_table)

消息:无法打开表。

· 错误:1178 sqlstate: 42000 (er_check_not_implemented)

消息:用于表的引擎不支持%s。

· 错误:1179 sqlstate: 25000 (er_cant_do_this_during_an_transaction)

消息:不允许在事务中执行该命令。

· 错误:1180 sqlstate: hy000 (er_error_during_commit)

消息:在commit期间出现错误%d。

· 错误:1181 sqlstate: hy000 (er_error_during_rollback)

消息:在rollback期间出现错误%d。

· 错误:1182 sqlstate: hy000 (er_error_during_flush_logs)

消息:在flush_logs期间出现错误%d。

· 错误:1183 sqlstate: hy000 (er_error_during_checkpoint)

消息:在checkpoint期间出现错误%d。

· 错误:1184 sqlstate: 08s01 (er_new_aborting_connection)

消息:与数据库'%s'、用户'%s'和主机'%s'的连接%ld失败 (%s)。

· 错误:1185 sqlstate: hy000 (er_dump_not_implemented)

消息:针对表的存储引擎不支持二进制表转储。

· 错误:1186 sqlstate: hy000 (er_flush_master_binlog_closed)

消息:binlog已关闭,不能reset master。

· 错误:1187 sqlstate: hy000 (er_index_rebuild)

消息:重新创建转储表'%s'的索引失败。

· 错误:1188 sqlstate: hy000 (er_master)

消息:来自主连接'%s'的错误。

· 错误:1189 sqlstate: 08s01 (er_master_net_read)

消息:读取主连接时出现网络错误。

· 错误:1190 sqlstate: 08s01 (er_master_net_write)

消息:写入主连接时出现网络错误。

· 错误:1191 sqlstate: hy000 (er_ft_matching_key_not_found)

消息:无法找到与列列表匹配的fulltext索引。

· 错误:1192 sqlstate: hy000 (er_lock_or_active_transaction)

消息:由于存在活动的锁定表或活动的事务,不能执行给定的命令。

· 错误:1193 sqlstate: hy000 (er_unknown_system_variable)

消息:未知的系统变量'%s'。

· 错误:1194 sqlstate: hy000 (er_crashed_on_usage)

消息:表'%s'被标记为崩溃,应予以修复。

· 错误:1195 sqlstate: hy000 (er_crashed_on_repair)

消息:表'%s'被标记为崩溃,而且上次修复失败(自动?)

· 错误:1196 sqlstate: hy000 (er_warning_not_complete_rollback)

消息:不能回滚某些非事务性已变动表。

· 错误:1197 sqlstate: hy000 (er_trans_cache_full)

消息:多语句事务要求更多的'max_binlog_cache_size'存储字节,增大mysqld变量,并再次尝试。

· 错误:1198 sqlstate: hy000 (er_slave_must_stop)

消息:运行从实例时不能执行该操作,请首先运行stop slave。

· 错误:1199 sqlstate: hy000 (er_slave_not_running)

消息:该操作需要运行的从实例,请配置slave并执行start slave。

· 错误:1200 sqlstate: hy000 (er_bad_slave)

消息:服务器未配置为从服务器,请更正config文件,或使用change master to。

· 错误:1201 sqlstate: hy000 (er_master_info)

消息:无法初始化主服务器信息结构,在mysql错误日志中可找到更多错误消息。

· 错误:1202 sqlstate: hy000 (er_slave_thread)

消息:无法创建从线程,请检查系统资源。

· 错误:1203 sqlstate: 42000 (er_too_many_user_connections)

消息:用户%s已有了超过'max_user_connections'的活动连接。

· 错误:1204 sqlstate: hy000 (er_set_constants_only)

消息:或许仅应与set一起使用常量表达式。

· 错误:1205 sqlstate: hy000 (er_lock_wait_timeout)

消息:超过了锁定等待超时,请尝试重新启动事务。

· 错误:1206 sqlstate: hy000 (er_lock_table_full)

消息:总的锁定数超出了锁定表的大小。

· 错误:1207 sqlstate: 25000 (er_read_only_transaction)

消息:在read uncommitted事务期间,无法获得更新锁定。

· 错误:1208 sqlstate: hy000 (er_drop_db_with_read_lock)

消息:当线程保持为全局读锁定时,不允许drop database。

· 错误:1209 sqlstate: hy000 (er_create_db_with_read_lock)

消息:当线程保持为全局读锁定时,不允许create database。

· 错误:1210 sqlstate: hy000 (er_wrong_arguments)

消息:为%s提供的参量不正确。

· 错误:1211 sqlstate: 42000 (er_no_permission_to_create_user)

消息:不允许'%s'@'%s'创建新用户。

· 错误:1212 sqlstate: hy000 (er_union_tables_in_different_dir)

消息:不正确的表定义,所有的merge表必须位于相同的数据库中。

· 错误:1213 sqlstate: 40001 (er_lock_deadlock)

消息:试图获取锁定时发现死锁,请尝试重新启动事务。

· 错误:1214 sqlstate: hy000 (er_table_cant_handle_ft)

消息:所使用的表类型不支持fulltext索引。

· 错误:1215 sqlstate: hy000 (er_cannot_add_foreign)

消息:无法添加外键约束。

· 错误:1216 sqlstate: 23000 (er_no_referenced_row)

消息:无法添加或更新子行,外键约束失败。

· 错误:1217 sqlstate: 23000 (er_row_is_referenced)

消息:无法删除或更新父行,外键约束失败。

· 错误:1218 sqlstate: 08s01 (er_connect_to_master)

消息:连接至主服务器%s时出错。

· 错误:1219 sqlstate: hy000 (er_query_on_master)

消息:在主服务器%s上执行查询时出错。

· 错误:1220 sqlstate: hy000 (er_error_when_executing_command)

消息:执行命令%s: %s时出错。

· 错误:1221 sqlstate: hy000 (er_wrong_usage)

消息:%s和%s的用法不正确。

· 错误:1222 sqlstate: 21000 (er_wrong_number_of_columns_in_select)

消息:所使用的select语句有不同的列数。

· 错误:1223 sqlstate: hy000 (er_cant_update_with_readlock)

消息:由于存在冲突的读锁定,无法执行查询。

· 错误:1224 sqlstate: hy000 (er_mixing_not_allowed)

消息:禁止混合事务性表和非事务性表。

· 错误:1225 sqlstate: hy000 (er_dup_argument)

消息:在语句中使用了两次选项'%s'。

· 错误:1226 sqlstate: 42000 (er_user_limit_reached)

消息:用户'%s'超出了'%s'资源(当前值:%ld)。

· 错误:1227 sqlstate: 42000 (er_specific_access_denied_error)

消息:拒绝访问,需要%s权限才能执行该操作。

· 错误:1228 sqlstate: hy000 (er_local_variable)

消息:变量'%s'是1种session变量,不能与set global一起使用。

· 错误:1229 sqlstate: hy000 (er_global_variable)

消息:变量'%s'是1种global变量,应使用set global来设置它。

· 错误:1230 sqlstate: 42000 (er_no_default)

消息:变量'%s'没有默认值。

· 错误:1231 sqlstate: 42000 (er_wrong_value_for_var)

消息:变量'%s'不能设置为值'%s'。

· 错误:1232 sqlstate: 42000 (er_wrong_type_for_var)

消息:变量'%s'的参量类型不正确。

· 错误:1233 sqlstate: hy000 (er_var_cant_be_read)

消息:变量'%s'只能被设置,不能被读取。

· 错误:1234 sqlstate: 42000 (er_cant_use_option_here)

消息:不正确的'%s'用法/位置。

· 错误:1235 sqlstate: 42000 (er_not_supported_yet)

消息:该mysql版本尚不支持'%s'。

· 错误:1236 sqlstate: hy000 (er_master_fatal_error_reading_binlog)

消息:从二进制日志读取数据时,获得来自主服务器的致命错误%d: '%s'。

· 错误:1237 sqlstate: hy000 (er_slave_ignored_table)

消息:由于“replicate-*-table”规则,从sql线程忽略了查询。。

· 错误:1238 sqlstate: hy000 (er_incorrect_global_local_var)

消息:变量'%s'是一种%s变量。

· 错误:1239 sqlstate: 42000 (er_wrong_fk_def)

消息:对于 '%s': %s, 外键定义不正确。

· 错误:1240 sqlstate: hy000 (er_key_ref_do_not_match_table_ref)

消息:键引用和表引用不匹配。

· 错误:1241 sqlstate: 21000 (er_operand_columns)

消息:操作数应包含%d列。

· 错误:1242 sqlstate: 21000 (er_subquery_no_1_row)

消息:子查询返回1行以上。

· 错误:1243 sqlstate: hy000 (er_unknown_stmt_handler)

消息:指定给%s的未知预处理语句句柄。

· 错误:1244 sqlstate: hy000 (er_corrupt_help_db)

消息:帮助数据库崩溃或不存在。

· 错误:1245 sqlstate: hy000 (er_cyclic_reference)

消息:对子查询的循环引用。

· 错误:1246 sqlstate: hy000 (er_auto_convert)

消息:将列'%s'从%s转换为%s。

· 错误:1247 sqlstate: 42s22 (er_illegal_reference)

消息:引用'%s'不被支持 (%s)。

· 错误:1248 sqlstate: 42000 (er_derived_must_have_alias)

消息:所有的导出表必须有自己的别名。

· 错误:1249 sqlstate: 01000 (er_select_reduced)

消息:在优化期间简化了选择%u。

· 错误:1250 sqlstate: 42000 (er_tablename_not_allowed_here)

消息:来自某一select的表'%s'不能在%s中使用。

· 错误:1251 sqlstate: 08004 (er_not_supported_auth_mode)

消息:客户端不支持服务器请求的鉴定协议,请考虑升级mysql客户端。

· 错误:1252 sqlstate: 42000 (er_spatial_cant_have_null)

消息:spatial索引的所有部分必须是not null。

· 错误:1253 sqlstate: 42000 (er_collation_charset_mismatch)

消息:对于character set '%s',collation '%s'无效。

· 错误:1254 sqlstate: hy000 (er_slave_was_running)

消息:从服务器正在运行。

· 错误:1255 sqlstate: hy000 (er_slave_was_not_running)

消息:从服务器已停止。

· 错误:1256 sqlstate: hy000 (er_too_big_for_uncompress)

消息:解压的数据过大,最大大小为%d(也可能是,解压数据的长度已损坏)。

· 错误:1257 sqlstate: hy000 (er_zlib_z_mem_error)

消息:zlib,无足够内存。

· 错误:1258 sqlstate: hy000 (er_zlib_z_buf_error)

消息:zlib,输出缓冲区内无足够空间(也可能是,解压数据的长度已损坏)。

· 错误:1259 sqlstate: hy000 (er_zlib_z_data_error)

消息:zlib,输入数据已损坏。

· 错误:1260 sqlstate: hy000 (er_cut_value_group_concat)

消息:%d行被group_concat()截去。

· 错误:1261 sqlstate: 01000 (er_warn_too_few_records)

消息:行%ld不包含所有列的数据。

· 错误:1262 sqlstate: 01000 (er_warn_too_many_records)

消息:行%ld被解短,它包含的数据大于输入列中的数据。

· 错误:1263 sqlstate: 22004 (er_warn_null_to_notnull)

消息:列被设为默认值,在行%ld上将null提供给了not null列。

· 错误:1264 sqlstate: 22003 (er_warn_data_out_of_range)

消息:为行%ld上的列'%s'调整超出范围的值。

· 错误:1265 sqlstate: 01000 (warn_data_truncated)

消息:为行%ld上的列'%s'截短数据。

· 错误:1266 sqlstate: hy000 (er_warn_using_other_handler)

消息:为表%s使用存储引擎%s。

· 错误:1267 sqlstate: hy000 (er_cant_aggregate_2collations)

消息:对于操作'%s',非法混合了校对(%s,%s)和(%s,%s)。

· 错误:1268 sqlstate: hy000 (er_drop_user)

消息:无法撤销1个或多个请求的用户。

· 错误:1269 sqlstate: hy000 (er_revoke_grants)

消息:无法撤销所有权限,为1个或多个请求的用户授权。

· 错误:1270 sqlstate: hy000 (er_cant_aggregate_3collations)

消息:对于操作'%s',非法混合了校对(%s,%s)、(%s,%s)和(%s,%s)。

· 错误:1271 sqlstate: hy000 (er_cant_aggregate_ncollations)

消息:对于操作'%s',非法混合了校对。

· 错误:1272 sqlstate: hy000 (er_variable_is_not_struct)

消息:变量'%s'不是变量组分(不能用作xxxx.variable_name)。

· 错误:1273 sqlstate: hy000 (er_unknown_collation)

消息:未知校对'%s'。

· 错误:1274 sqlstate: hy000 (er_slave_ignored_ssl_params)

消息:由于该mysql从服务器是在不支持ssl的情况下编译的,change master中的ssl参数被忽略,随后,如果启动了具备ssl功能的mysql,可使用这些参数。

· 错误:1275 sqlstate: hy000 (er_server_is_in_secure_auth_mode)

消息:服务器正运行在“--secure-auth”模式下,但'%s'@'%s'有1个采用旧格式的密码,请将密码更改为新格式。

· 错误:1276 sqlstate: hy000 (er_warn_field_resolved)

消息:select #%d的字段或引用'%s%s%s%s%s'是在select #%d中确定的。

· 错误:1277 sqlstate: hy000 (er_bad_slave_until_cond)

消息:对于start slave until,不正确的参数或参数组合。

· 错误:1278 sqlstate: hy000 (er_missing_skip_slave)

消息:与start slave until一起执行按步复制时,建议使用“--skip-slave-start”,否则,如果发生未预料的从服务器mysqld重启,间出现问题。

· 错误:1279 sqlstate: hy000 (er_until_cond_ignored)

消息:sql线程未启动,因而until选项被忽略。

· 错误:1280 sqlstate: 42000 (er_wrong_name_for_index)

消息:不正确的索引名'%s'。

· 错误:1281 sqlstate: 42000 (er_wrong_name_for_catalog)

消息:不正确的目录名'%s'。

· 错误:1282 sqlstate: hy000 (er_warn_qc_resize)

消息:查询高速缓冲设置大小%lu时失败,新的查询高速缓冲的大小是%lu。

· 错误:1283 sqlstate: hy000 (er_bad_ft_column)

消息:列'%s'不能是fulltext索引的一部分。

· 错误:1284 sqlstate: hy000 (er_unknown_key_cache)

消息:未知的键高速缓冲'%s'。

· 错误:1285 sqlstate: hy000 (er_warn_hostname_wont_work)

消息:mysql是在“--skip-name-resolve”模式下启动的,必须在不使用该开关的情况下重启它,以便该授权能起作用。

· 错误:1286 sqlstate: 42000 (er_unknown_storage_engine)

消息:未知的表引擎'%s'。

· 错误:1287 sqlstate: hy000 (er_warn_deprecated_syntax)

消息:'%s'已过时,请使用'%s'取而代之。

· 错误:1288 sqlstate: hy000 (er_non_updatable_table)

消息:%s的目标表%s不可更新。

· 错误:1289 sqlstate: hy000 (er_feature_disabled)

消息:'%s'特性已被禁止,要想使其工作,需要用'%s'创建mysql。

· 错误:1290 sqlstate: hy000 (er_option_prevents_statement)

消息:mysql正使用%s选项运行,因此不能执行该语句。

· 错误:1291 sqlstate: hy000 (er_duplicated_value_in_type)

消息:列'%s'在%s中有重复值'%s'。

· 错误:1292 sqlstate: 22007 (er_truncated_wrong_value)

消息:截短了不正确的%s值: '%s'

· 错误:1293 sqlstate: hy000 (er_too_much_auto_timestamp_cols)

消息:不正确的表定义,在default或on update子句中,对于current_timestamp,只能有一个timestamp列。

· 错误:1294 sqlstate: hy000 (er_invalid_on_update)

消息:对于'%s'列,on update子句无效。

· 错误:1295 sqlstate: hy000 (er_unsupported_ps)

消息:在预处理语句协议中,尚不支持该命令。

· 错误:1296 sqlstate: hy000 (er_get_errmsg)

消息:从%s获得错误%d '%s'。

· 错误:1297 sqlstate: hy000 (er_get_temporary_errmsg)

消息:从%s获得临时错误%d '%s'。

· 错误:1298 sqlstate: hy000 (er_unknown_time_zone)

消息:未知或不正确的时区: '%s'

· 错误:1299 sqlstate: hy000 (er_warn_invalid_timestamp)

消息:在行%ld的列'%s'中存在无效的timestamp值。

· 错误:1300 sqlstate: hy000 (er_invalid_character_string)

消息:无效的%s字符串: '%s'

· 错误:1301 sqlstate: hy000 (er_warn_allowed_packet_overflowed)

消息:%s()的结果大于max_allowed_packet (%ld),已截短

· 错误:1302 sqlstate: hy000 (er_conflicting_declarations)

消息:冲突声明:'%s%s'和'%s%s'

· 错误:1303 sqlstate: 2f003 (er_sp_no_recursive_create)

消息:不能从另一个存储子程序中创建%s。

· 错误:1304 sqlstate: 42000 (er_sp_already_exists)

消息:%s %s已存在。

· 错误:1305 sqlstate: 42000 (er_sp_does_not_exist)

消息:%s %s不存在。

· 错误:1306 sqlstate: hy000 (er_sp_drop_failed)

消息:drop %s %s失败

· 错误:1307 sqlstate: hy000 (er_sp_store_failed)

消息:create %s %s失败。

· 错误:1308 sqlstate: 42000 (er_sp_lilabel_mismatch)

消息:%s无匹配标签: %s

· 错误:1309 sqlstate: 42000 (er_sp_label_redefine)

消息:重新定义标签%s

· 错误:1310 sqlstate: 42000 (er_sp_label_mismatch)

消息:末端标签%s无匹配项

· 错误:1311 sqlstate: 01000 (er_sp_uninit_var)

消息:正在引用未初始化的变量%s。

· 错误:1312 sqlstate: 0a000 (er_sp_badselect)

消息:procedure %s不能在给定场景下返回结果集。

· 错误:1313 sqlstate: 42000 (er_sp_badreturn)

消息:仅在function中允许return。

· 错误:1314 sqlstate: 0a000 (er_sp_badstatement)

消息:在存储程序中不允许%s。

· 错误:1315 sqlstate: 42000 (er_update_log_deprecated_ignored)

消息:更新日志已被放弃,并用二进制日志取代,set sql_log_update被忽略。

· 错误:1316 sqlstate: 42000 (er_update_log_deprecated_translated)

消息:更新日志已被放弃,并用二进制日志取代,set sql_log_update已被截短为set sql_log_bin。

· 错误:1317 sqlstate: 70100 (er_query_interrupted)

消息:查询执行被中断。

· 错误:1318 sqlstate: 42000 (er_sp_wrong_no_of_args)

消息:对于%s %s,参量数目不正确,预期为%u,但却是%u。

· 错误:1319 sqlstate: 42000 (er_sp_cond_mismatch)

消息:未定义的condition: %s

· 错误:1320 sqlstate: 42000 (er_sp_noreturn)

消息:在function %s中未发现return。

· 错误:1321 sqlstate: 2f005 (er_sp_noreturnend)

消息:function %s结束时缺少return。

· 错误:1322 sqlstate: 42000 (er_sp_bad_cursor_query)

消息:光标语句必须是select。

· 错误:1323 sqlstate: 42000 (er_sp_bad_cursor_select)

消息:光标select不得有into。

· 错误:1324 sqlstate: 42000 (er_sp_cursor_mismatch)

消息:未定义的cursor: %s

· 错误:1325 sqlstate: 24000 (er_sp_cursor_already_open)

消息:光标已打开

· 错误:1326 sqlstate: 24000 (er_sp_cursor_not_open)

消息:光标未打开

· 错误:1327 sqlstate: 42000 (er_sp_undeclared_var)

消息:未声明的变量:%s

· 错误:1328 sqlstate: hy000 (er_sp_wrong_no_of_fetch_args)

消息:不正确的fetch变量数目。

· 错误:1329 sqlstate: 02000 (er_sp_fetch_no_data)

消息:fetch无数据。

· 错误:1330 sqlstate: 42000 (er_sp_dup_param)

消息:重复参数: %s

· 错误:1331 sqlstate: 42000 (er_sp_dup_var)

消息:重复变量: %s

· 错误:1332 sqlstate: 42000 (er_sp_dup_cond)

消息:重复条件: %s

· 错误:1333 sqlstate: 42000 (er_sp_dup_curs)

消息:重复光标: %s

· 错误:1334 sqlstate: hy000 (er_sp_cant_alter)

消息:alter %s %s失败。

· 错误:1335 sqlstate: 0a000 (er_sp_subselect_nyi)

消息:不支持subselect值。

· 错误:1336 sqlstate: 0a000 (er_stmt_not_allowed_in_sf_or_trg)

消息:在存储函数或触发程序中,不允许%s。

· 错误:1337 sqlstate: 42000 (er_sp_varcond_after_curshndlr)

消息:光标或句柄声明后面的变量或条件声明。

· 错误:1338 sqlstate: 42000 (er_sp_cursor_after_handler)

消息:句柄声明后面的光标声明。

· 错误:1339 sqlstate: 20000 (er_sp_case_not_found)

消息:对于case语句,未发现case。

· 错误:1340 sqlstate: hy000 (er_fparser_too_big_file)

消息:配置文件'%s'过大。

· 错误:1341 sqlstate: hy000 (er_fparser_bad_header)

消息:文件'%s'中存在残缺的文件类型标题。

· 错误:1342 sqlstate: hy000 (er_fparser_eof_in_comment)

消息:解析'%s'时,文件意外结束。

· 错误:1343 sqlstate: hy000 (er_fparser_error_in_parameter)

消息:解析参数'%s'时出错(行:'%s')。

· 错误:1344 sqlstate: hy000 (er_fparser_eof_in_unknown_parameter)

消息:跳过未知参数'%s'时,文件意外结束。

· 错误:1345 sqlstate: hy000 (er_view_no_explain)

消息:explain/show无法发出,缺少对基本表的权限。

· 错误:1346 sqlstate: hy000 (er_frm_unknown_type)

消息:文件'%s'在其题头中有未知的类型'%s'。

· 错误:1347 sqlstate: hy000 (er_wrong_object)

消息:'%s.%s'不是%s。

· 错误:1348 sqlstate: hy000 (er_nonupdateable_column)

消息:列'%s'不可更新。

· 错误:1349 sqlstate: hy000 (er_view_select_derived)

消息:视图的select在from子句中包含子查询。

· 错误:1350 sqlstate: hy000 (er_view_select_clause)

消息:视图的select包含'%s'子句。

· 错误:1351 sqlstate: hy000 (er_view_select_variable)

消息:视图的select包含1个变量或参数。

· 错误:1352 sqlstate: hy000 (er_view_select_tmptable)

消息:视图的select引用了临时表'%s'。

· 错误:1353 sqlstate: hy000 (er_view_wrong_list)

消息:视图的select和视图的字段列表有不同的列计数。

· 错误:1354 sqlstate: hy000 (er_warn_view_merge)

消息:此时,不能在这里使用视图合并算法(假定未定义算法)。

· 错误:1355 sqlstate: hy000 (er_warn_view_without_key)

消息:正在更新的视图没有其基本表的完整键。

· 错误:1356 sqlstate: hy000 (er_view_invalid)

消息:视图'%s.%s'引用了无效的表、列、或函数,或视图的定义程序/调用程序缺少使用它们的权限。

· 错误:1357 sqlstate: hy000 (er_sp_no_drop_sp)

消息:无法从另一个存储子程序中撤销或更改%s。

· 错误:1358 sqlstate: hy000 (er_sp_goto_in_hndlr)

消息:在存储子程序句柄中不允许goto。

· 错误:1359 sqlstate: hy000 (er_trg_already_exists)

消息:触发程序已存在。

· 错误:1360 sqlstate: hy000 (er_trg_does_not_exist)

消息:触发程序不存在。

· 错误:1361 sqlstate: hy000 (er_trg_on_view_or_temp_table)

消息:触发程序的'%s'是视图或临时表。

· 错误:1362 sqlstate: hy000 (er_trg_cant_change_row)

消息:在%strigger中,不允许更新%s行。

· 错误:1363 sqlstate: hy000 (er_trg_no_such_row_in_trg)

消息:在%s触发程序中没有%s行。

· 错误:1364 sqlstate: hy000 (er_no_default_for_field)

消息:字段'%s'没有默认值。

· 错误:1365 sqlstate: 22012 (er_division_by_zero)

消息:被0除。

· 错误:1366 sqlstate: hy000 (er_truncated_wrong_value_for_field)

消息:不正确的%s值,'%s',对于行%ld 上的列'%s'。

· 错误:1367 sqlstate: 22007 (er_illegal_value_for_type)

消息:解析过程中发现非法%s '%s'值。

· 错误:1368 sqlstate: hy000 (er_view_nonupd_check)

消息:不可更新视图'%s.%s'上的check option。

· 错误:1369 sqlstate: hy000 (er_view_check_failed)

消息:check option失败,'%s.%s'

· 错误:1370 sqlstate: 42000 (er_procaccess_denied_error)

消息:对于子程序'%s',拒绝用户'%s'@'%s'使用%s命令。

· 错误:1371 sqlstate: hy000 (er_relay_log_fail)

消息:清除旧中继日志失败,%s

· 错误:1372 sqlstate: hy000 (er_passwd_length)

消息:密码混编应是%d位的十六进制数。

· 错误:1373 sqlstate: hy000 (er_unknown_target_binlog)

消息:在binlog索引中未发现目标日志。

· 错误:1374 sqlstate: hy000 (er_io_err_log_index_read)

消息:读取日志索引文件时出现i/o错误。

· 错误:1375 sqlstate: hy000 (er_binlog_purge_prohibited)

消息:服务器配置不允许binlog清除。

· 错误:1376 sqlstate: hy000 (er_fseek_fail)

消息:fseek()失败。

· 错误:1377 sqlstate: hy000 (er_binlog_purge_fatal_err)

消息:在日志清除过程中出现致命错误。

· 错误:1378 sqlstate: hy000 (er_log_in_use)

消息:可清除的日志正在使用,不能清除。

· 错误:1379 sqlstate: hy000 (er_log_purge_unknown_err)

消息:在日志清除过程中出现未知错误。

· 错误:1380 sqlstate: hy000 (er_relay_log_init)

消息:初始化中继日志位置失败,%s

· 错误:1381 sqlstate: hy000 (er_no_binary_logging)

消息:未使用二进制日志功能。

· 错误:1382 sqlstate: hy000 (er_reserved_syntax)

消息:'%s'语法保留给mysql服务器内部使用。

· 错误:1383 sqlstate: hy000 (er_wsas_failed)

消息:wsastartup失败。

· 错误:1384 sqlstate: hy000 (er_diff_groups_proc)

消息:尚不能用不同的组处理过程。

· 错误:1385 sqlstate: hy000 (er_no_group_for_proc)

消息:对于该过程,select必须有1个组。

· 错误:1386 sqlstate: hy000 (er_order_with_proc)

消息:不能与该过程一起使用order子句。

· 错误:1387 sqlstate: hy000 (er_logging_prohibit_changing_of)

消息:二进制日志功能和复制功能禁止更改全局服务器%s。

· 错误:1388 sqlstate: hy000 (er_no_file_mapping)

消息:无法映射文件: %s, errno: %d

· 错误:1389 sqlstate: hy000 (er_wrong_magic)

消息:%s中有错

· 错误:1390 sqlstate: hy000 (er_ps_many_param)

消息:预处理语句包含过多的占位符。

· 错误:1391 sqlstate: hy000 (er_key_part_0)

消息:键部分'%s'的长度不能为0。

· 错误:1392 sqlstate: hy000 (er_view_checksum)

消息:视图文本校验和失败。

· 错误:1393 sqlstate: hy000 (er_view_multiupdate)

消息:无法通过联合视图'%s.%s'更改1个以上的基本表。

· 错误:1394 sqlstate: hy000 (er_view_no_insert_field_list)

消息:不能在没有字段列表的情况下插入联合视图'%s.%s'。

· 错误:1395 sqlstate: hy000 (er_view_delete_merge_view)

消息:不能从联合视图'%s.%s'中删除。

· 错误:1396 sqlstate: hy000 (er_cannot_user)

消息:对于%s的操作%s失败。

· 错误:1397 sqlstate: xae04 (er_xaer_nota)

消息:xaer_nota: 未知xid

· 错误:1398 sqlstate: xae05 (er_xaer_inval)

消息:xaer_inval: 无效参量(或不支持的命令)

· 错误:1399 sqlstate: xae07 (er_xaer_rmfail)

消息:xaer_rmfail: 当全局事务处于%s状态时,不能执行命令。

· 错误:1400 sqlstate: xae09 (er_xaer_outside)

消息:xaer_outside: 某些工作是在全局事务外完成的。

· 错误:1401 sqlstate: xae03 (er_xaer_rmerr)

消息:xaer_rmerr: 在事务分支中出现致命错误,请检查数据一致性。

· 错误:1402 sqlstate: xa100 (er_xa_rbrollback)

消息:xa_rbrollback: 回滚了事务分支。

· 错误:1403 sqlstate: 42000 (er_nonexisting_proc_grant)

消息:在子程序'%s'上没有为主机'%s'上的用户'%s'定义的这类授权。

· 错误:1404 sqlstate: hy000 (er_proc_auto_grant_fail)

消息:无法授予execute和alter routine权限。

· 错误:1405 sqlstate: hy000 (er_proc_auto_revoke_fail)

消息:无法撤销已放弃子程序上的所有权限。

· 错误:1406 sqlstate: 22001 (er_data_too_long)

消息:对于行%ld上的列'%s'来说,数据过长。

· 错误:1407 sqlstate: 42000 (er_sp_bad_sqlstate)

消息:不良sqlstate: '%s'

· 错误:1408 sqlstate: hy000 (er_startup)

消息:%s,连接就绪;版本,'%s';套接字,'%s';端口,%d %s

· 错误:1409 sqlstate: hy000 (er_load_from_fixed_size_rows_to_var)

消息:不能从具有固定大小行的文件中将值加载到变量。

· 错误:1410 sqlstate: 42000 (er_cant_create_user_with_grant)

消息:不允许用grant创建用户。

· 错误:1411 sqlstate: hy000 (er_wrong_value_for_type)

消息:不正确的%s值,'%s',对于函数%s

· 错误:1412 sqlstate: hy000 (er_table_def_changed)

消息:表定义已更改,请再次尝试事务。

· 错误:1413 sqlstate: 42000 (er_sp_dup_handler)

消息:在相同块中声明了重复句柄。

· 错误:1414 sqlstate: 42000 (er_sp_not_var_arg)

消息:子程序%s的out或inout参量不是变量。

· 错误:1415 sqlstate: 0a000 (er_sp_no_retset)

消息:不允许从%s返回结果集。

· 错误:1416 sqlstate: 22003 (er_cant_create_geometry_object)

消息:不能从发送给geometry字段的数据中获取几何对象。

· 错误:1417 sqlstate: hy000 (er_failed_routine_break_binlog)

消息:1个子程序失败,在其声明没有no sql或reads sql data,而且二进制日志功能已启用,如果更新了非事务性表,二进制日志将丢失其变化信息。

· 错误:1418 sqlstate: hy000 (er_binlog_unsafe_routine)

消息:在该子程序的在其声明没有deterministic、no sql或reads sql data,而且二进制日志功能已启用(你或许打算使用不太安全的log_bin_trust_routine_creators变量)。

· 错误:1419 sqlstate: hy000 (er_binlog_create_routine_need_super)

消息:你没有super权限,而且二进制日志功能已启用(你或许打算使用不太安全的log_bin_trust_routine_creators变量)。

· 错误:1420 sqlstate: hy000 (er_exec_stmt_with_open_cursor)

消息:不能执行该预处理语句,该预处理语句有与之相关的打开光标。请复位语句并再次执行。

· 错误:1421 sqlstate: hy000 (er_stmt_has_no_open_cursor)

消息:语句(%lu)没有打开的光标。

· 错误:1422 sqlstate: hy000 (er_commit_not_allowed_in_sf_or_trg)

消息:在存储函数或触发程序中,不允许显式或隐式提交。

· 错误:1423 sqlstate: hy000 (er_no_default_for_view_field)

消息:视图'%s.%s'基本表的字段没有默认值。

· 错误:1424 sqlstate: hy000 (er_sp_no_recursion)

消息:不允许递归存储子程序。

· 错误:1425 sqlstate: 42000 (er_too_big_scale)

消息:为列'%s'指定了过大的标度%d。最大为%d。

· 错误:1426 sqlstate: 42000 (er_too_big_precision)

消息:为列'%s'指定了过高的精度%d。最大为%d。

· 错误:1427 sqlstate: 42000 (er_m_bigger_than_d)

消息:对于float(m,d)、double(m,d)或decimal(m,d),m必须>= d (列'%s')。

· 错误:1428 sqlstate: hy000 (er_wrong_lock_of_system_table)

消息:不能将系统'%s.%s'表的写锁定与其他表结合起来。

· 错误:1429 sqlstate: hy000 (er_connect_to_foreign_data_source)

消息:无法连接到外部数据源,数据库'%s'!

· 错误:1430 sqlstate: hy000 (er_query_on_foreign_data_source)

消息:处理作用在外部数据源上的查询时出现问题。数据源错误:'%s'

· 错误:1431 sqlstate: hy000 (er_foreign_data_source_doesnt_exist)

消息:你试图引用的外部数据源不存在。数据源错误:'%s'

· 错误:1432 sqlstate: hy000 (er_foreign_data_string_invalid_cant_create)

消息:无法创建联合表。数据源连接字符串'%s'格式不正确。

· 错误:1433 sqlstate: hy000 (er_foreign_data_string_invalid)

消息:数据源连接字符串'%s'格式不正确。

· 错误:1434 sqlstate: hy000 (er_cant_create_federated_table)

消息:无法创建联合表。外部数据源错误:'%s'

· 错误:1435 sqlstate: hy000 (er_trg_in_wrong_schema)

消息:触发程序位于错误的方案中。

· 错误:1436 sqlstate: hy000 (er_stack_overrun_need_more)

消息:线程堆栈溢出,%ld字节堆栈用了%ld字节,并需要%ld字节。请使用'mysqld -o thread_stack=#'指定更大的堆栈。

· 错误:1437 sqlstate: 42000 (er_too_long_body)

消息:'%s'的子程序主体过长。

· 错误:1438 sqlstate: hy000 (er_warn_cant_drop_default_keycache)

消息:无法撤销默认的keycache。

· 错误:1439 sqlstate: 42000 (er_too_big_displaywidth)

消息:对于列'%s',显示宽度超出范围(max = %d)

· 错误:1440 sqlstate: xae08 (er_xaer_dupid)

消息:xaer_dupid: xid已存在

· 错误:1441 sqlstate: 22008 (er_datetime_function_overflow)

消息:日期时间函数,%s字段溢出。

· 错误:1442 sqlstate: hy000 (er_cant_update_used_table_in_sf_or_trg)

消息:由于它已被调用了该存储函数/触发程序的语句使用,不能在存储函数/触发程序中更新表'%s'。

· 错误:1443 sqlstate: hy000 (er_view_prevent_update)

消息:表'%s'的定义不允许在表'%s上执行操作%s。

· 错误:1444 sqlstate: hy000 (er_ps_no_recursion)

消息:预处理语句包含引用了相同语句的存储子程序调用。不允许以这类递归方式执行预处理语句。

· 错误:1445 sqlstate: hy000 (er_sp_cant_set_autocommit)

消息:不允许从存储函数或触发程序设置autocommit。

· 错误:1446 sqlstate: hy000 (er_no_view_user)

消息:视图定义人不完全合格。

· 错误:1447 sqlstate: hy000 (er_view_frm_no_user)

消息:视图%s.%s没有定义人信息(旧的表格式)。当前用户将被当作定义人。请重新创建视图!

· 错误:1448 sqlstate: hy000 (er_view_other_user)

消息:需要super权限才能创建具有%s@%s定义器的视图。

· 错误:1449 sqlstate: hy000 (er_no_such_user)

消息:没有注册的%s@%s。

· 错误:1450 sqlstate: hy000 (er_forbid_schema_change)

消息:不允许将方案从'%s'变为'%s'。

· 错误:1451 sqlstate: 23000 (er_row_is_referenced_2)

消息:不能删除或更新父行,外键约束失败(%s)。

· 错误:1452 sqlstate: 23000 (er_no_referenced_row_2)

消息:不能添加或更新子行,外键约束失败(%s)。

· 错误:1453 sqlstate: 42000 (er_sp_bad_var_shadow)

消息:必须用`...`引用变量,或重新命名变量。

· 错误:1454 sqlstate: hy000 (er_partition_requires_values_error)

消息:对于每个分区,%s partitioning需要values %s的定义。

· 错误:1455 sqlstate: hy000 (er_partition_wrong_values_error)

消息:在分区定义中,只有%s partitioning能使用values %s。

· 错误:1456 sqlstate: hy000 (er_partition_maxvalue_error)

消息:maxvalue只能在最后1个分区定义中使用。

· 错误:1457 sqlstate: hy000 (er_partition_subpartition_error)

消息:子分区只能是哈希分区,并按键分区。

· 错误:1458 sqlstate: hy000 (er_partition_wrong_no_part_error)

消息:定义了错误的分区数,与前面的设置不匹配。

· 错误:1459 sqlstate: hy000 (er_partition_wrong_no_subpart_error)

消息:定义了错误的子分区数,与前面的设置不匹配。

· 错误:1460 sqlstate: hy000 (er_const_expr_in_partition_func_error)

消息:在分区(子分区)函数中不允许使用常量/随机表达式。

· 错误:1461 sqlstate: hy000 (er_no_const_expr_in_range_or_list_error)

消息:range/list values中的表达式必须是常量。

· 错误:1462 sqlstate: hy000 (er_field_not_found_part_error)

消息:在表中未发现分区函数字段列表中的字段。

· 错误:1463 sqlstate: hy000 (er_list_of_fields_only_in_hash_error)

消息:仅在key分区中允许使用字段列表。

· 错误:1464 sqlstate: hy000 (er_inconsistent_partition_info_error)

消息:frm文件中的分区信息与能够写入到frm文件中的不一致。

· 错误:1465 sqlstate: hy000 (er_partition_func_not_allowed_error)

消息:%s函数返回了错误类型。

· 错误:1466 sqlstate: hy000 (er_partitions_must_be_defined_error)

消息:对于%s分区,必须定义每个分区。

· 错误:1467 sqlstate: hy000 (er_range_not_increasing_error)

消息:对于各分区,values less than值必须严格增大。

· 错误:1468 sqlstate: hy000 (er_inconsistent_type_of_functions_error)

消息:values值必须与分区函数具有相同的类型。

· 错误:1469 sqlstate: hy000 (er_multiple_def_const_in_list_part_error)

消息:multiple definition of same constant in list partitioning

· 错误:1470 sqlstate: hy000 (er_partition_entry_error)

消息:在查询中,不能独立使用分区功能。

· 错误:1471 sqlstate: hy000 (er_mix_handler_error)

消息:在该mysql版本中,不允许分区中的句柄组合。

· 错误:1472 sqlstate: hy000 (er_partition_not_defined_error)

消息:对于分区引擎,有必要定义所有的%s。

· 错误:1473 sqlstate: hy000 (er_too_many_partitions_error)

消息:定义了过多分区。

· 错误:1474 sqlstate: hy000 (er_subpartition_error)

消息:对于子分区,仅能将range/list分区与hash/key分区混合起来。

· 错误:1475 sqlstate: hy000 (er_cant_create_handler_file)

消息:无法创建特定的句柄文件。

· 错误:1476 sqlstate: hy000 (er_blob_field_in_part_func_error)

消息:在分区函数中,不允许使用blob字段。

· 错误:1477 sqlstate: hy000 (er_char_set_in_part_field_error)

消息:如果为分区函数选择了二进制校对,才允许使用varchar。

· 错误:1478 sqlstate: hy000 (er_unique_key_need_all_fields_in_pf)

消息:在分区函数中,%s需要包含所有文件。

· 错误:1479 sqlstate: hy000 (er_no_parts_error)

消息:%s的数目= 0不是允许的值。

· 错误:1480 sqlstate: hy000 (er_partition_mgmt_on_nonpartitioned)

消息:无法在非分区表上进行分区管理。

· 错误:1481 sqlstate: hy000 (er_drop_partition_non_existent)

消息:分区列表中的错误出现变化。

· 错误:1482 sqlstate: hy000 (er_drop_last_partition)

消息:不能删除所有分区,请使用drop table取而代之。

· 错误:1483 sqlstate: hy000 (er_coalesce_only_on_hash_partition)

消息:coalesce partition仅能在hash/key分区上使用。

· 错误:1484 sqlstate: hy000 (er_only_on_range_list_partition)

消息:%s partition仅能在range/list分区上使用。

· 错误:1485 sqlstate: hy000 (er_add_partition_subpart_error)

消息:试图用错误的子分区数增加分区。

· 错误:1486 sqlstate: hy000 (er_add_partition_no_new_partition)

消息:必须至少添加1个分区。

· 错误:1487 sqlstate: hy000 (er_coalesce_partition_no_partition)

消息:必须至少合并1个分区。

· 错误:1488 sqlstate: hy000 (er_reorg_partition_not_exist)

消息:重组的分区数超过了已有的分区数。

· 错误:1489 sqlstate: hy000 (er_same_name_partition)

消息:在表中,所有分区必须有唯一的名称。

· 错误:1490 sqlstate: hy000 (er_consecutive_reorg_partitions)

消息:重组分区集合时,它们必须连续。

· 错误:1491 sqlstate: hy000 (er_reorg_outside_range)

消息:新分区的范围超过了已重组分区的范围。

· 错误:1492 sqlstate: hy000 (er_drop_partition_failure)

消息:在该版本的句柄中,不支持撤销分区。

· 错误:1493 sqlstate: hy000 (er_drop_partition_when_fk_defined)

消息:在表上定义了外键约束时,不能舍弃分区。

· 错误:1494 sqlstate: hy000 (er_plugin_is_not_loaded)

消息:未加载插件'%s'

b.2. 客户端错误代码和消息
客户端错误信息来自下述源文件:

· 圆括号中的错误值和符号与include/errmsg.h mysql源文件中的定义对应。

· 消息值与libmysql/errmsg.c文件中列出的错误消息对应。%d和%s分别代表数值和字符串,显示时,它们将被消息值取代。

由于更新很频繁,这些文件中可能包含这里未列出的额外错误消息。

· 错误:2000 (cr_unknown_error)

消息:未知mysql错误。

· 错误:2001 (cr_socket_create_error)

消息:不能创建unix套接字(%d)

· 错误:2002 (cr_connection_error)

消息:不能通过套接字'%s' (%d)连接到本地mysql服务器。

· 错误:2003 (cr_conn_host_error)

消息:不能连接到'%s' (%d)上的mysql服务器。

· 错误:2004 (cr_ipsock_error)

消息:不能创建tcp/ip套接字(%d)

· 错误:2005 (cr_unknown_host)

消息:未知的mysql服务器主机'%s' (%d)

· 错误:2006 (cr_server_gone_error)

消息:mysql服务器不可用。

· 错误:2007 (cr_version_error)

消息:协议不匹配,服务器版本= %d,客户端版本= %d

· 错误:2008 (cr_out_of_memory)

消息:mysql客户端内存溢出。

· 错误:2009 (cr_wrong_host_info)

消息:错误的主机信息

· 错误:2010 (cr_localhost_connection)

消息:通过unix套接字连接的本地主机。

· 错误:2011 (cr_tcp_connection)

消息:%s,通过tcp/ip

· 错误:2012 (cr_server_handshake_err)

消息:服务器握手过程中出错。

· 错误:2013 (cr_server_lost)

消息:查询过程中丢失了与mysql服务器的连接。

· 错误:2014 (cr_commands_out_of_sync)

消息:命令不同步,你现在不能运行该命令。

· 错误:2015 (cr_namedpipe_connection)

消息:命名管道,%s

· 错误:2016 (cr_namedpipewait_error)

消息:无法等待命名管道,主机,%s;管道,%s (%lu)

· 错误:2017 (cr_namedpipeopen_error)

消息:无法打开命名管道,主机,%s;管道,%s (%lu)

· 错误:2018 (cr_namedpipesetstate_error)

消息:无法设置命名管道的状态,主机,%s;管道,%s (%lu)

· 错误:2019 (cr_cant_read_charset)

消息:无法初始化字符集%s (路径:%s)

· 错误:2020 (cr_net_packet_too_large)

消息:获得的信息包大于'max_allowed_packet'字节。

· 错误:2021 (cr_embedded_connection)

消息:嵌入式服务器。

· 错误:2022 (cr_probe_slave_status)

消息:show slave status出错:

· 错误:2023 (cr_probe_slave_hosts)

消息:show slave hosts出错:

· 错误:2024 (cr_probe_slave_connect)

消息:连接到从服务器时出错:

· 错误:2025 (cr_probe_master_connect)

消息:连接到主服务器时出错:

· 错误:2026 (cr_ssl_connection_error)

消息:ssl连接错误

· 错误:2027 (cr_malformed_packet)

消息:残缺信息包。

· 错误:2028 (cr_wrong_license)

消息:该客户端库仅授权给具有'%s'许可的mysql服务器使用。

· 错误:2029 (cr_null_pointer)

消息:空指针的无效使用。

· 错误:2030 (cr_no_prepare_stmt)

消息:语句未准备好。

· 错误:2031 (cr_params_not_bound)

消息:没有为预处理语句中的参数提供数据。

· 错误:2032 (cr_data_truncated)

消息:数据截短。

· 错误:2033 (cr_no_parameters_exists)

消息:语句中不存在任何参数。

· 错误:2034 (cr_invalid_parameter_no)

消息:无效的参数编号。

· 错误:2035 (cr_invalid_buffer_use)

消息:不能为非字符串/非二进制数据类型发送长数据(参数:%d)。

· 错误:2036 (cr_unsupported_param_type)

消息:正使用不支持的缓冲区类型, %d (参数:%d)

· 错误:2037 (cr_shared_memory_connection)

消息:共享内存,%s

· 错误:2038 (cr_shared_memory_connect_request_error)

消息:不能打开共享内存,客户端不能创建请求事件(%lu)

· 错误:2039 (cr_shared_memory_connect_answer_error)

消息:不能打开共享内存,未收到服务器的应答事件(%lu)

· 错误:2040 (cr_shared_memory_connect_file_map_error)

消息:不能打开共享内存,服务器不能分配文件映射(%lu)

· 错误:2041 (cr_shared_memory_connect_map_error)

消息:不能打开共享内存,服务器不能获得文件映射的指针(%lu)

· 错误:2042 (cr_shared_memory_file_map_error)

消息:不能打开共享内存,客户端不能分配文件映射(%lu)

· 错误:2043 (cr_shared_memory_map_error)

消息:不能打开共享内存,客户端不能获得文件映射的指针(%lu)

· 错误:2044 (cr_shared_memory_event_error)

消息:不能打开共享内存,客户端不能创建%s事件(%lu)

· 错误:2045 (cr_shared_memory_connect_abandoned_error)

消息:不能打开共享内存,无来自服务器的应答 (%lu)

· 错误:2046 (cr_shared_memory_connect_set_error)

消息:不能打开共享内存,不能将请求事件发送到服务器(%lu)

· 错误:2047 (cr_conn_unknow_protocol)

消息:错误或未知协议

· 错误:2048 (cr_invalid_conn_handle)

消息:无效的连接句柄

· 错误:2049 (cr_secure_auth)

消息:拒绝使用旧鉴定协议(早于4.1.1)的连接(开启了客户端'secure_auth'选项)。

· 错误:2050 (cr_fetch_canceled)

消息:行检索被mysql_stmt_close()调用取消。

· 错误:2051 (cr_no_data)

消息:在未事先获取行的情况下试图读取列。

· 错误:2052 (cr_no_stmt_metadata)

消息:预处理语句不含元数据。

· 错误:2053 (cr_no_result_set)

消息:在没有与语句相关的结果集时试图读取行。

· 错误:2054 (cr_not_implemented)

消息:该特性尚未实施。

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网