当前位置:首页 > 日记 > 正文

mysql常见错误代码比较

mysql常见错误代码比较
常见的错误!

1016错误:文件无法打开,使用背景修复或修复使用phpMyAdmin。
1044错误:数据库用户权限不足,请与空间经销商联系解决
1045错误:数据库服务器数据库用户名/数据库名称/数据库密码错误。请与太空商联系,核对帐目。
1054错误:程序文件与数据库发生冲突,请使用正确的程序文件上传到封面。
1146错误:丢失数据表,请恢复备份数据。
1005:创建表失败
1006:创建数据库失败
1007:数据库已经存在,数据库未能创建。
1008:数据库不存在,删除数据库失败
1009:删除数据库文件失败导致数据库删除失败
1010:删除数据目录失败导致数据库的删除
1011:删除数据库文件的失败
1012:系统表中的记录不能被读取。
1020:记录已被其他用户修改。
1021:硬盘的剩余部分不够,请增加硬盘的可用空间。
1022:关键字重复,更改记录失败
1023:关闭时出错。
1024:读取文件错误
1025:更改名称时发生错误。
1026:编写文件错误
1032:记录不存在
1036:数据表是只读的,不能修改。
1037:系统不在内存中,请重新启动数据库或重新启动服务器。
1038:缺少排序的内存,请增加排序缓冲区。
1040:连接到数据库的最大连接数,请增加数据库中可用连接的数量。
1041:系统内存不足
1042:无效主机名
1043:无效连接
1044:当前用户没有访问数据库的权限。
1045:无法连接数据库、用户名或密码错误。
1048:字段不能是空的
1049:数据库不存在
1050:数据表已经存在。
1051:数据表不存在
1054:字段不存在
1065:无效SQL语句,SQL语句为空
1081:不能建立插座连接。
1114:数据表满了,不能保存任何记录。
1116:打开的数据表太多了
1129:数据库异常,请重新启动数据库
1130:连接数据库失败,没有连接到数据库的权限
1133:数据库用户不存在
1141:当前用户无权访问数据库。
1142:当前用户没有访问数据表的权限。
1143:当前用户无权访问数据表中的字段。
1146:数据表不存在
1147:未定义的用户对数据表的访问
1149:SQL语句语法错误
1158:网络错误,读取错误,请检查网络连接状态
1159:网络错误,读取时间,请检查网络连接状态
1160:网络错误,写错误,请检查网络连接状态。
1161:网络错误,写超时,请检查网络连接状态
1062:字段值重复,汇失败
1169:字段值重复,更新记录失败
1177:打开数据表失败
1180:提交事务失败
1181:回滚事务失败
1203:当前用户和数据库之间的连接达到了数据库连接的最大数量。请增加可用数据库连接的数量或重新启动数据库。
1205:锁超时
1211:当前用户没有创建用户的权限。
1216:外键约束检查失败,更新数据库记录失败
1217:无法检查外键约束,删除或修改主表的失败
1226:当前用户正在使用超过允许资源的资源,请重新启动数据库或重新启动服务器。
1227:缺乏权威,你没有权利这样做。
1235个:mysql版本太低,没有这个功能。
2002:不能连接到…通常意味着任何MySQL服务器系统上运行,或者当你试图连接mysqld服务器,你使用的是一个错误的套接字文件或TCP / IP端口。

说明:上述只是一个常见的错误号,解决方案不一定有效!请参考MySQL手册(所有下载)。
更详细的错误代码
错误名称/错误代码SQL状态
1000 hy000 er_hashchk
1001 hy000 er_nisamchk
1002 hy000 er_no
1003 hy000 er_yes
1004 hy000 er_cant_create_file
1005 hy000 er_cant_create_table
1006 hy000 er_cant_create_db
1007 hy000 er_db_create_exists
1008 hy000 er_db_drop_exists
1009 hy000 er_db_drop_delete
1010 hy000 er_db_drop_rmdir
1011 hy000 er_cant_delete_file
1012 hy000 er_cant_find_system_rec
1013 hy000 er_cant_get_stat
1014 hy000 er_cant_get_wd
1015 hy000 er_cant_lock
1016 hy000 er_cant_open_file
1017 hy000 er_file_not_found
1018 hy000 er_cant_read_dir
1019 hy000 er_cant_set_wd
1020 hy000 er_checkread
1021 hy000 er_disk_full
er_dup_key 102223000
1023 hy000 er_error_on_close
1024 hy000 er_error_on_read
1025 hy000 er_error_on_rename
1026 hy000 er_error_on_write
1027 hy000 er_file_used
1028 hy000 er_filsort_abort
1029 hy000 er_form_not_found
1030 hy000 er_get_errno
1031 hy000 er_illegal_ha
1032 hy000 er_key_not_found
1033 hy000 er_not_form_file
1034 hy000 er_not_keyfile
1035 hy000 er_old_keyfile
1036 hy000 er_open_as_readonly
1037 hy001 er_outofmemory
1038 hy001 er_out_of_sortmemory
1039 hy000 er_unexpected_eof
er_con_count_error 104008004
er_out_of_resources 104108004
1042 08s01 er_bad_host_error
1043 08s01 er_handshake_error
er_dbaccess_denied_error 104442000
er_access_denied_error 104542000
er_no_db_error 104642000
1047 08s01 er_unknown_com_error
er_bad_null_error 104823000
er_bad_db_error 104942000
1050 42s01 er_table_exists_error
1051 42s02 er_bad_table_error
er_non_uniq_error 105223000
1053 08s01 er_server_shutdown
1054 42s22 er_bad_field_error
er_wrong_field_with_group 105542000
er_wrong_group_field 105642000
er_wrong_sum_select 105742000
1058 21s01 er_wrong_value_count
er_too_long_ident 105942000
1060 42s21 er_dup_fieldname
er_dup_keyname 106142000
er_dup_entry 106223000
er_wrong_field_spec 106342000
er_parse_error 106442000
er_empty_query 106542000
er_nonuniq_table 106642000
er_invalid_default 106742000
er_multiple_pri_key 106842000
er_too_many_keys 106942000
er_too_many_key_parts 107042000
er_too_long_key 107142000
er_key_column_does_not_exits 107242000
er_blob_used_as_key 107342000
er_too_big_fieldlength 107442000
er_wrong_auto_key 107542000
er_ready 107600000
er_normal_shutdown 107700000
er_got_signal 107800000
er_shutdown_complete 107900000
1080 08s01 er_forcing_close
1081 08s01 er_ipsock_error
1082 42s12 er_no_such_index
er_wrong_field_terminators 108342000
er_blobs_and_no_terminated 108442000
1085 hy000 er_textfile_not_readable
1086 hy000 er_file_exists_error
1087 hy000 er_load_info
1088 hy000 er_alter_info
1089 hy000 er_wrong_sub_key
er_cant_remove_all_fields 109042000
er_cant_drop_field_or_key 109142000
1092 hy000 er_insert_info
1093 hy000 er_update_table_used
1094 hy000 er_no_such_thread
1095 hy000 er_kill_denied_error
1096 hy000 er_no_tables_used
1097 hy000 er_too_big_set
1098 hy000 er_no_unique_logfile
1099 hy000 er_table_not_locked_for_write
1100 hy000 er_table_not_locked
er_blob_cant_have_default 110142000
er_wrong_db_name 110242000
er_wrong_table_name 110342000
er_too_big_select 110442000
1105 hy000 er_unknown_error
er_unknown_procedure 110642000
er_wrong_paramcount_to_procedure 110742000
1108 hy000 er_wrong_parameters_to_procedure
1109 42s02 er_unknown_table
er_field_specified_twice 111042000
er_invalid_group_func_use 111142000
ER_UNSUPPORTED_EXTENSION 111242000
er_table_must_have_columns 111342000
1114 hy000 er_record_file_full
er_unknown_character_set 111542000
1116 hy000 er_too_many_tables
1117 hy000 er_too_many_fields
er_too_big_rowsize 111842000
1119 hy000 er_stack_overrun
er_wrong_outer_join 112042000
er_null_column_in_index 112142000
1122 hy000 er_cant_find_udf
1123 hy000 er_cant_initialize_udf
1124 hy000 er_udf_no_paths
1125 hy000 er_udf_exists
1126 hy000 er_cant_open_library
1127 hy000 er_cant_find_dl_entry
1128 hy000 er_function_not_defined
1129 hy000 er_host_is_blocked
1130 hy000 er_host_not_privileged
er_password_anonymous_user 113142000
er_password_not_allowed 113242000
er_password_no_match 113342000
1134 hy000 er_update_info
1135 hy000 er_cant_create_thread
1136 21s01 er_wrong_value_count_on_row
1137 hy000 er_cant_reopen_table
er_invalid_use_of_null 113842000
er_regexp_error 113942000
er_mix_of_group_func_and_fields 114042000
er_nonexisting_grant 114142000
er_tableaccess_denied_error 114242000
er_columnaccess_denied_error 114342000
er_illegal_grant_for_table 114442000
er_grant_wrong_host_or_user 114542000
1146 42s02 er_no_such_table
er_nonexisting_table_grant 114742000
er_not_allowed_command 114842000
er_syntax_error 114942000
1150 hy000 er_delayed_cant_change_lock
1151 hy000 er_too_many_delayed_threads
1152 08s01 er_aborting_connection
1153 08s01 er_net_packet_too_large
1154 08s01 er_net_read_error_from_pipe
1155 08s01 er_net_fcntl_error
1156 08s01 er_net_packets_out_of_order
1157 08s01 er_net_uncompress_error
1158 08s01 er_net_read_error
1159 08s01 er_net_read_interrupted
1160 08s01 er_net_error_on_write
1161 08s01 er_net_write_interrupted
er_too_long_string 116242000
er_table_cant_handle_blob 116342000
er_table_cant_handle_auto_increment 116442000
1165 hy000 er_delayed_insert_table_locked
er_wrong_column_name 116642000
er_wrong_key_column 116742000
1168 hy000 er_wrong_mrg_table
er_dup_unique 116923000
er_blob_key_without_length 117042000
er_primary_cant_have_null 117142000
er_too_many_rows 117242000
er_requires_primary_key 117342000
1174 hy000 er_no_raid_compiled
1175 hy000 er_update_without_key_in_safe_mode
1176 hy000 er_key_does_not_exits
er_check_no_such_table 117742000
er_check_not_implemented 117842000
er_cant_do_this_during_an_transaction 117925000
1180 hy000 er_error_during_commit
1181 hy000 er_error_during_rollback
1182 hy000 er_error_during_flush_logs
1183 hy000 er_error_during_checkpoint
1184 08s01 er_new_aborting_connection
1185 hy000 er_dump_not_implemented
1186 hy000 er_flush_master_binlog_closed
1187 hy000 er_index_rebuild
1188 hy000 er_master
1189 08s01 er_master_net_read
1190 08s01 er_master_net_write
1191 hy000 er_ft_matching_key_not_found
1192 hy000 er_lock_or_active_transaction
1193 hy000 er_unknown_system_variable
1194 hy000 er_crashed_on_usage
1195 hy000 er_crashed_on_repair
1196 hy000 er_warning_not_complete_rollback
1197 hy000 er_trans_cache_full
1198 hy000 er_slave_must_stop
1199 hy000 er_slave_not_running
1200 hy000 er_bad_slave
1201 hy000 er_master_info
1202 hy000 er_slave_thread
er_too_many_user_connections 120342000
1204 hy000 er_set_constants_only
1205 hy000 er_lock_wait_timeout
1206 hy000 er_lock_table_full
er_read_only_transaction 120725000
1208 hy000 er_drop_db_with_read_lock
1209 hy000 er_create_db_with_read_lock
1210 hy000 er_wrong_arguments
er_no_permission_to_create_user 121142000
1212 hy000 er_union_tables_in_different_dir
er_lock_deadlock 121340001
1214 hy000 er_table_cant_handle_fulltext
1215 hy000 er_cannot_add_foreign
er_no_referenced_row 121623000
er_row_is_referenced 121723000
1218 08s01 er_connect_to_master
1219 hy000 er_query_on_master
1220 hy000 er_error_when_executing_command
1221 hy000 er_wrong_usage
er_wrong_number_of_columns_in_select 122221000
1223 hy000 er_cant_update_with_readlock
1224 hy000 er_mixing_not_allowed
1225 hy000 er_dup_argument
er_user_limit_reached 122642000
1227 hy000 er_specific_access_denied_error
1228 hy000 er_local_variable
1229 hy000 er_global_variable
er_no_default 123042000
er_wrong_value_for_var 123142000
er_wrong_type_for_var 123242000
1233 hy000 er_var_cant_be_read
er_cant_use_option_here 123442000
er_not_supported_yet 123542000
1236 hy000 er_master_fatal_error_reading_binlog
er_wrong_fk_def 123742000
1238 hy000 er_key_ref_do_not_match_table_ref
er_cardinality_col 123921000
er_subselect_no_1_row 124021000
1241 hy000 er_unknown_stmt_handler
1242 hy000 er_corrupt_help_db
1243 hy000 er_cyclic_reference
1244 hy000 er_auto_convert
1245 42s22 er_illegal_reference
er_derived_must_have_alias 124642000
er_select_reduced 124701000
er_tablename_not_allowed_here 124842000
er_not_supported_auth_mode 124908004
er_spatial_cant_have_null 125042000
er_collation_charset_mismatch 125142000
1252 hy000 er_slave_was_running
1253 hy000 er_slave_was_not_running
1254 hy000 er_too_big_for_uncompress
ER_ZLIB_Z_MEM_ERROR 1255 HY000
1256 hy000 er_zlib_z_buf_error
1257 hy000 er_zlib_z_data_error
1258 hy000 er_cut_value_group_concat
er_warn_too_few_records 125901000
er_warn_too_many_records 126001000
er_warn_null_to_notnull 126101000
er_warn_data_out_of_range 126201000
er_warn_data_truncated 126301000
er_warn_using_other_handler 126401000
er_cant_aggregate_collations 126542000
er_drop_user 126642000
er_revoke_grants 126742000

相关文章

三Windows8快捷键你应该知道

三Windows8快捷键你应该知道

快捷键,你应该知道,电脑软件,点评:Windows的快捷键在业界仍然十分谨慎。大多数非关键操作是由单手(通常是左手单手)操作快捷键完成的,但在Windows 8上。 对于安装Windows 8.1的人来说,您可以掌握几个关键的快捷方式,您可能会在一些意想不到的情…

让win7查看更方便四设置使你的Wind

让win7查看更方便四设置使你的Wind

设置,使你,更方便,迷人,电脑软件,点评:对于Windows7的用户,你让你的Windows7更个性化和更容易使用,它是非常重要的。在这篇文章中,我们将介绍一个Windows7系统看你更方便的设置。 Windows7是微软新一代操作系统。随着它的普及推广,Windows7用户i…

XP升级到Vista未能启动只显示黑屏

XP升级到Vista未能启动只显示黑屏

解决方案,启动,只显示,升级到,黑屏,点评:升级后Vista未能启动,无法进入XP系统无法进入Vista,但显示黑屏,在这种情况下该怎么办这里有一个很好的解决方案,有类似情况的朋友可以参考一下。 当您无法升级到Windows Vista时,您尝试启动,但不能进入Wind…

的过程,是一个kpf4gui.exe查询kpf4g

的过程,是一个kpf4gui.exe查询kpf4g

查询,是一个,过程,电脑软件,kpf4gui,点评:kpf4gui.exe是防火墙相关的过程 进程文件:kpf4gui或kpf4gui.exe 进程名称:Kerio个人防火墙组件 过程类别:安全风险的过程 英文描述: kpf4gui.exe是一个过程,属于凯里奥河的个人防火墙。,凯里奥河,它也被…

优化MySQL极限偏移的一个示例

优化MySQL极限偏移的一个示例

优化,示例,极限,电脑软件,MySQL,一个常见的问题是,限制的偏移量太高,如极限100000,20,这样系统会查询100020项,然后把前面的100000。这是一个昂贵的操作,导致查询速度变慢。假设所有的分页页面访问相同的频率,和这样一个查询平均一半数据的扫描表…

什么是SkyDrive在Win8.1系统做不到

什么是SkyDrive在Win8.1系统做不到

系统,如何解决,电脑软件,SkyDrive,点评:当登陆SkyDrive,提示如果你想看到SkyDrive,您需要登录到该计算机与微软帐户。我相信有些朋友也认识了。现在让我来谈谈我的解决方案。 在Win8.1功能SkyDrive已大大加强,萧边想体验不能登录,也不能访问文…

对mxtask.exe-使用mxtask作为过程

对mxtask.exe-使用mxtask作为过程

文件,过程,电脑软件,mxtask,exe,点评:mxtask.exe是V通信背景修复工具相关的过程 进程文件:mxtask或mxtask.exe 进程名称:mxtask 过程类别:安全风险的过程 英文描述: mxtask.exe与V通信有关的修理工具和一个,,,它也被称为以下三个方面。 中文参考: …

微信小程序拖动组件移动视图使用教

微信小程序拖动组件移动视图使用教

视图,拖动,组件,使用教程,程序,前言 前一天晚上在520天的小程序,让程序员又激动,更新了一些有吸引力的功能,如内容转发API,iBeacon API,振动API,屏幕亮度调整的API,也增强了地图组件的功能。 此次更新,UI组件还补充说,这是视图组件的活动来看,这需…

让Windows8支持PDF/ISO文件格式的

让Windows8支持PDF/ISO文件格式的

方法,支持,文件格式,电脑软件,ISO,点评:本文为您介绍如何让Windows 8支持PDF格式的ISO文件格式,具体操作方法如下,有需要的朋友可以理解下一步。 Windows 8阅读器很容易 右键点击打开方式,选择阅读器,你可以使用内置的PDF工具查看,阅读可以选择…

Oracle数据使用游标

Oracle数据使用游标

游标,数据,电脑软件,Oracle,复制代码代码如下所示: 创建或替换 proceudre_name作为程序 开始 声明 SPara VARCHAR(50); spara2 varchar(50); 光标c_cursor选择ID,名字从temp_table; 开始 打开c_cursor; 环 取c_cursor为业余,spara2; 退出时未c_cursor %…

txopshow.exe是平均txopshow.exe是

txopshow.exe是平均txopshow.exe是

平均,过程,电脑软件,txopshow,exe,评论:txopshow.exe是过程分析 txopshow.exe是是腾讯最新的迷你页面广告的过程。 程序可能不关机,导致CPU占用率很高,如QQ卡死了。电脑性能太差死机。 QQ启动时,系统的速度会受到影响。成员可以设置取消,而非成…

MySQL随机密码生成代码

MySQL随机密码生成代码

密码,代码,电脑软件,MySQL,复制代码代码如下所示: $分隔符 创建 功能` t_girl `。` func_rand_string `(f_num tinyint unsigned,f_type tinyint unsigned) 返回varchar(32) 开始 把数字译成字母。 - NO 1仅表示字符串。 - 2只代表数字。 - 3代…