Mysql错误代码大全

合集下载

Mysql错误编码大全

Mysql错误编码大全

1004 => '无法创建文件',1005 => '无法创建表',1006 => '无法创建数据库',1007 => '无法创建数据库,数据库已存在。

',1008 => '无法撤销数据库,数据库不存在。

',1009 => '撤销数据库时出错',1010 => '撤销数据库时出错',1011 => '删除时出错 ',1012 => '无法读取系统表中的记录。

',1013 => '无法获取的状态',1014 => '无法获得工作目录',1015 => '无法锁定文件',1016 => '无法打开文件',1017 => '无法找到文件',1018 => '无法读取的目录 ',1019 => '无法为更改目录 ',1020 => '自上次读取以来表中的记录已改变。

',1021 => '磁盘满',1022 => '无法写入',1023 => '关闭时出错 ',1024 => '读取文件时出错 ',1025 => '将重命名为时出错 ',1026 => '写入文件时出错 ',1027 => '已锁定,拒绝更改。

',1028 => '分类失败 ',1029 => '对于,视图不存在。

',1030 => '从存储引擎中获得错误%d。

MySQL错误码及解决方案汇总

MySQL错误码及解决方案汇总

MySQL错误码及解决方案汇总引言:MySQL是一种常用的开源数据库管理系统,被广泛应用于各种Web应用程序和其他应用场景中。

然而,在使用MySQL时,我们可能会遇到各种错误和异常情况。

本文将总结常见的MySQL错误码,并为每个错误码提供相应的解决方案。

1. 错误码1 - Can't create/write to file这个错误通常表示MySQL服务器没有权限创建或写入指定的文件。

解决方案可以是确保MySQL对文件或目录具有适当的写入权限,或者更改需要读写的文件或目录的权限。

2. 错误码2 - No such file or directory如果你在MySQL执行命令时收到这个错误码,可能是因为指定的文件或目录不存在。

解决方案包括检查路径和文件名的拼写,确保指定的文件或目录存在。

3. 错误码1045 - Access denied for user这个错误通常表示MySQL拒绝了连接请求,因为提供的用户名或密码不正确。

解决方案可以是确保提供的用户名和密码是正确的,并且用户具有与MySQL服务器建立连接所需的适当权限。

4. 错误码1062 - Duplicate entry当插入或更新表中的数据时,如果遇到这个错误,意味着有重复的唯一键值。

解决方案可以是使用UPDATE语句而不是INSERT语句来更新数据,或者更改需要唯一的键值。

5. 错误码1146 - Table doesn't exist如果查询一个不存在的表时收到此错误码,表示你在操作一个不存在的表。

解决方案可以是确认该表是否存在,或者修正查询语句中的表名。

6. 错误码1215 - Cannot add foreign key constraint这个错误通常表示在创建外键约束时出现问题。

解决方案包括确保参照主键的表已存在,确保参照主键字段类型和长度与外键字段类型和长度一致,并且参照主键上不存在重复值。

7. 错误码1364 - Field 'xxx' doesn't have a default value当插入数据时遇到这个错误,表示插入的数据中有一个或多个字段没有指定默认值,并且该字段不允许为空。

MySQL错误代码以及出错信息对照大全

MySQL错误代码以及出错信息对照大全

0101 属于其他进程的专用标志。

0102 标志已经设置,无法关闭。

0103 无法再次设置该标志。

0104 中断时无法请求专用标志。

0105 此标志先前的所有权已终止。

0106 请将软盘插入驱动器 %1。

0107 后续软盘尚未插入,程序停止。

0108 磁盘正在使用或已由其他进程锁定。

0109 管道已经结束。

0110 系统无法打开指定的设备或文件。

0111 文件名太长。

0112 磁盘空间不足。

0113 没有其他可用的内部文件标识符。

0114 目标内部文件标识符不正确。

0117 该应用程序所运行的 IOCTL 调用不正确。

0118 校验写入的开关参数值不正确。

0119 系统不支持所请求的命令。

0120 该系统上不支持此功能。

0121 标记已超时。

0123 文件名、目录名或卷标语法错误。

0124 系统调用层不正确。

0125 磁盘没有卷标。

0126 找不到指定的模块。

0127 找不到指定的过程。

0128 没有要等候的子进程。

0129 模式下运行。

0130 试图使用操作(而非原始磁盘I/O)的已打开磁盘分区的文件句柄。

0131 试图将文件指针移至文件开头之前。

0132 无法在指定的设备或文件中设置文件指针。

0133 对于包含已连接驱动器的驱动器,不能使用 JOIN 或 SUBST 命令。

0134 试图在已经连接的驱动器上使用 JOIN 或 SUBST 命令。

0135 试图在已经替换的驱动器上使用 JOIN 或 SUBST 命令。

0136 系统试图删除尚未连接的驱动器的 JOIN。

0137 系统试图删除尚未替换的驱动器的替换项。

0138 系统试图将驱动器连接到已连接的驱动器下的目录。

0139 系统试图将驱动器替换成已替换的驱动器下的目录。

0140 系统试图将驱动器连接到已替换的驱动器的一个目录中。

0141 系统试图将驱动器替换成到已连接的驱动器下的目录。

0142 此时系统无法运行 JOIN 或 SUBST。

MySQL 错误代码以及出错信息对照大全之欧阳歌谷创作

MySQL 错误代码以及出错信息对照大全之欧阳歌谷创作

0101 属于其他进程的专用标志。

欧阳歌谷(2021.02.01)0102 标志已经设置,无法关闭。

0103 无法再次设置该标志。

0104 中断时无法请求专用标志。

0105 此标志先前的所有权已终止。

0106 请将软盘插入驱动器 %1。

0107 后续软盘尚未插入,程序停止。

0108 磁盘正在使用或已由其他进程锁定。

0109 管道已经结束。

0110 系统无法打开指定的设备或文件。

0111 文件名太长。

0112 磁盘空间不足。

0113 没有其他可用的内部文件标识符。

0114 目标内部文件标识符不正确。

0117 该应用程序所运行的 IOCTL 调用不正确。

0118 校验写入的开关参数值不正确。

0119 系统不支持所请求的命令。

0120 该系统上不支持此功能。

0121 标记已超时。

0123 文件名、目录名或卷标语法错误。

0124 系统调用层不正确。

0125 磁盘没有卷标。

0126 找不到指定的模块。

0127 找不到指定的过程。

0128 没有要等候的子进程。

0129 模式下运行。

0130 试图使用操作(而非原始磁盘I/O)的已打开磁盘分区的文件句柄。

0131 试图将文件指针移至文件开头之前。

0132 无法在指定的设备或文件中设置文件指针。

0133 对于包含已连接驱动器的驱动器,不能使用 JOIN 或 SUBST 命令。

0134 试图在已经连接的驱动器上使用 JOIN 或 SUBST 命令。

0135 试图在已经替换的驱动器上使用 JOIN 或 SUBST 命令。

0136 系统试图删除尚未连接的驱动器的 JOIN。

0137 系统试图删除尚未替换的驱动器的替换项。

0138 系统试图将驱动器连接到已连接的驱动器下的目录。

0139 系统试图将驱动器替换成已替换的驱动器下的目录。

0140 系统试图将驱动器连接到已替换的驱动器的一个目录中。

0141 系统试图将驱动器替换成到已连接的驱动器下的目录。

0142 此时系统无法运行 JOIN 或 SUBST。

mysql错误代码对照表较完整

mysql错误代码对照表较完整

mysql错误代码对照表较完整mysql错误代码对照表较完整 mysql_errno()mysql错误代码对照表较完整0101 属于其他进程的专⽤标志。

0102 标志已经设置,⽆法关闭。

0103 ⽆法再次设置该标志。

0104 中断时⽆法请求专⽤标志。

0105 此标志先前的所有权已终⽌。

0106 请将软盘插⼊驱动器 %1。

0107 后续软盘尚未插⼊,程序停⽌。

0108 磁盘正在使⽤或已由其他进程锁定。

0109 管道已经结束。

0110 系统⽆法打开指定的设备或⽂件。

0111 ⽂件名太长。

0112 磁盘空间不⾜。

0113 没有其他可⽤的内部⽂件标识符。

0114 ⽬标内部⽂件标识符不正确。

0117 该应⽤程序所运⾏的 IOCTL 调⽤不正确。

0118 校验写⼊的开关参数值不正确。

0119 系统不⽀持所请求的命令。

0120 该系统上不⽀持此功能。

0121 标记已超时。

0123 ⽂件名、⽬录名或卷标语法错误。

0124 系统调⽤层不正确。

0125 磁盘没有卷标。

0126 找不到指定的模块。

0127 找不到指定的过程。

0128 没有要等候的⼦进程。

0129 模式下运⾏。

0130 试图使⽤操作(⽽⾮原始磁盘I/O)的已打开磁盘分区的⽂件句柄。

0131 试图将⽂件指针移⾄⽂件开头之前。

0132 ⽆法在指定的设备或⽂件中设置⽂件指针。

0133 对于包含已连接驱动器的驱动器,不能使⽤ JOIN 或 SUBST 命令。

0134 试图在已经连接的驱动器上使⽤ JOIN 或 SUBST 命令。

0135 试图在已经替换的驱动器上使⽤ JOIN 或 SUBST 命令。

0136 系统试图删除尚未连接的驱动器的 JOIN。

0137 系统试图删除尚未替换的驱动器的替换项。

0138 系统试图将驱动器连接到已连接的驱动器下的⽬录。

0139 系统试图将驱动器替换成已替换的驱动器下的⽬录。

0140 系统试图将驱动器连接到已替换的驱动器的⼀个⽬录中。

MYSQL常见错误列表和解决

MYSQL常见错误列表和解决

MYSQL出错代码列表在用mysql创建表时,有A、B两个表需要同时创建C表的外键,A表已经创建好了,但再创建B表的外键时,总是报错:ERROR 1005 (HY000): Can't create table './ows/#sql-a8_11.frm' (errno: 150)网上的资料多说这是由于建外键的列与要关联的列类型不匹配造成的。

但我查了列类型是匹配的。

后来才知道:不同的表的外键名也是不能重复的。

否则也会建外键失败。

1006:创建数据库失败生成数据库的限制只有mysql的许可和操作系统限制。

你应当确认你的根权限确实包括生成数据库的权限(检查Mysql数据库的user图表的许可),如果你有这个权限,再试着以mySQL用户登录时在数据文件夹创建一个路径。

1007:数据库已存在,创建数据库失败1008:数据库不存在,删除数据库失败1009:不能删除数据库文件导致删除数据库失败1010:不能删除数据目录导致删除数据库失败1011:删除数据库文件失败1012:不能读取系统表中的记录1020:记录已被其他用户修改1021:硬盘剩余空间不足,请加大硬盘可用空间1022:关键字重复,更改记录失败1023:关闭时发生错误1024:读文件错误1025:更改名字时发生错误1026:写文件错误1032:记录不存在1036:数据表是只读的,不能对它进行修改1037:系统内存不足,请重启数据库或重启服务器1038:用于排序的内存不足,请增大排序缓冲区1040:已到达数据库的最大连接数,请加大数据库可用连接数你找到mysql配置文件,搜索最大连接的选项,修改数字不就行了吗1040:已到达数据库的最大连接数,请加大数据库可用连接数。

[code]在my.ini 修改max_connections=100为max_connections=1000或更大,重启mysql[/code]1041:系统内存不足1042:无效的主机名1043:无效连接1044:当前用户没有访问数据库的权限1045:不能连接数据库,用户名或密码错误方法:确保论坛data目录下的sql_config.php用户名与密码都正确.如果用户忘记了数据库的密码,可以按如下方式进行密码的修改:如果MySQL 正在运行,首先停止。

MySQL常见错误码及其解决方法

MySQL常见错误码及其解决方法

MySQL常见错误码及其解决方法MySQL是一款开源的关系型数据库管理系统,被广泛应用于Web开发和数据存储领域。

然而,由于各种原因,我们在使用MySQL的过程中可能会遇到一些错误码。

本文将介绍一些MySQL常见的错误码及其解决方法,帮助读者更好地应对这些问题。

1. 错误码:1064错误描述:语法错误,无法解析SQL语句。

解决方法:检查SQL语句的语法是否正确,确认是否有缺失的关键字、括号或引号等错误。

2. 错误码:1045错误描述:拒绝访问,用户名或密码错误。

解决方法:确认MySQL用户名和密码是否正确,可以尝试修改密码或重新创建一个新用户。

3. 错误码:2002错误描述:无法连接到MySQL服务器。

解决方法:检查MySQL服务器是否已启动,确认服务器IP地址和端口号是否正确,在确保网络连接正常的情况下,可以尝试重启MySQL服务。

4. 错误码:1062错误描述:唯一约束冲突,插入重复的唯一键值。

解决方法:检查插入的数据是否已存在于该唯一键字段中,可以通过更新已存在的记录来解决冲突。

5. 错误码:1215错误描述:外键约束失败,无法创建或更新引用关系。

解决方法:检查表之间的引用关系是否正确,确认关联字段是否存在或类型是否匹配。

可以尝试先创建被引用的表,再创建引用表。

6. 错误码:1114错误描述:表已满,无法再插入数据。

解决方法:检查表的存储引擎是否支持自动扩容,如果不支持需要手动增加表的存储空间;清理不必要的数据,或者将表的数据迁移到其他存储空间。

7. 错误码:1067错误描述:服务无法启动,可能是配置错误或内存不足。

解决方法:检查MySQL配置文件是否正确,确认参数设置是否合理;增加可用内存或关闭其他占用内存的服务进程。

8. 错误码:1146错误描述:表不存在。

解决方法:确认表名是否正确,检查该表是否存在于当前数据库中,在跨数据库查询时要使用“数据库名.表名”的格式。

9. 错误码:1366错误描述:字段值类型不匹配。

mysql常见错误与标准错误对照表

mysql常见错误与标准错误对照表

附,常见错误号对照表MySQL error code SQLSTATE code Error message1011 HY000 Error on delete of '%s' (errn %d)1021 HY000 Disk full (%s); waiting for someone to free some space . . . 1022 23000 Can't write; duplicate key in table '%s'1027 HY000 '%s' is locked against change1036 HY000 Table '%s' is read only1048 23000 Column '%s' cannot be null1062 23000 Duplicate entry '%s' for key %d1099 HY000 Table '%s' was locked with a READ lock and can't be updated 1100 HY000 Table '%s' was not locked with LOCK TABLES1104 42000 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay1106 42000 Incorrect parameters to procedure '%s'1114 HY000 The table '%s' is full1150 HY000 Delayed insert thread couldn't get requested lock for table %s 1165 HY000 INSERT DELAYED can't be used with table '%s' because it is locked with LOCK TABLES1242 21000 Subquery returns more than 1 row1263 22004 Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld1264 22003 Out of range value adjusted for column '%s' at row %ld 1265 1000 Data truncated for column '%s' at row %ld1312 0A000 SELECT in a stored program must have INTO1317 70100 Query execution was interrupted1319 42000 Undefined CONDITION: %s1325 24000 Cursor is already open1326 24000 Cursor is not open1328 HY000 Incorrect number of FETCH variables1329 2000 No data to FETCH1336 42000 USE is not allowed in a stored program1337 42000 Variable or condition declaration after cursor or handler declaration1338 42000 Cursor declaration after handler declaration1339 20000 Case not found for CASE statement1348 HY000 Column '%s' is not updatable1357 HY000 Can't drop a %s from within another stored routine1358 HY000 GOTO is not allowed in a stored program handler1362 HY000 Updating of %s row is not allowed in %s trigger1363 HY000 There is no %s row in %s trigger优先级:当同时使用MySQl错误码,标准SQLSTATE错误码,命名条件(SQLEXCEPTION)来定义错误处理时,其捕获顺序是(只可捕获一条错误):MYSQL码->SQLSTATE->命名条件。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Mysql错误代码大全Mysql错误代码Mysql错误代码分为两部分,老版本一部分,4.1版本为新的部分第一部分:mysql的出错代码表,根据mysql的头文件mysql/include/mysqld_error.h整理而成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:不能建立Socket连接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版本过低,不具有本功能第二部分新4.1.11,摘自DOCSmysqld_error.txtcharacter-set=utf-8 isher补充#define ER_HASHCHK 1000"hashchk",#define ER_NISAMCHK 1001"isamchk",#define ER_NO 1002"NO",#define ER_YES 1003"YES",#define ER_CANT_CREATE_FILE 1004"Can't create file '%-.64s' (errno: %d)",#define ER_CANT_CREATE_TABLE 1005"Can't create table '%-.64s' (errno: %d)",#define ER_CANT_CREATE_DB 1006"Can't create database '%-.64s' (errno: %d)",#define ER_DB_CREATE_EXISTS 1007"Can't create database '%-.64s'; database exists",#define ER_DB_DROP_EXISTS 1008"Can't drop database '%-.64s'; database doesn't exist",#define ER_DB_DROP_DELETE 1009"Error dropping database (can't delete '%-.64s', errno: %d)", #define ER_DB_DROP_RMDIR 1010"Error dropping database (can't rmdir '%-.64s', errno: %d)", #define ER_CANT_DELETE_FILE 1011"Error on delete of '%-.64s' (errno: %d)",#define ER_CANT_FIND_SYSTEM_REC 1012"Can't read record in system table",#define ER_CANT_GET_STAT 1013"Can't get status of '%-.64s' (errno: %d)",#define ER_CANT_GET_WD 1014"Can't get working directory (errno: %d)",#define ER_CANT_LOCK 1015"Can't lock file (errno: %d)",#define ER_CANT_OPEN_FILE 1016"Can't open file: '%-.64s' (errno: %d)",#define ER_FILE_NOT_FOUND 1017"Can't find file: '%-.64s' (errno: %d)",#define ER_CANT_READ_DIR 1018"Can't read dir of '%-.64s' (errno: %d)",#define ER_CANT_SET_WD 1019"Can't change dir to '%-.64s' (errno: %d)",#define ER_CHECKREAD 1020"Record has changed since last read in table '%-.64s'",#define ER_DISK_FULL 1021"Disk full (%s). Waiting for someone to free some space...", #define ER_DUP_KEY 1022"Can't write, duplicate key in table '%-.64s'",#define ER_ERROR_ON_CLOSE 1023"Error on close of '%-.64s' (errno: %d)",#define ER_ERROR_ON_READ 1024"Error reading file '%-.64s' (errno: %d)",#define ER_ERROR_ON_RENAME 1025"Error on rename of '%-.64s' to '%-.64s' (errno: %d)",#define ER_ERROR_ON_WRITE 1026"Error writing file '%-.64s' (errno: %d)",#define ER_FILE_USED 1027"'%-.64s' is locked against change",#define ER_FILSORT_ABORT 1028"So瘀牡?剕????o鸞?rt aborted",#define ER_FORM_NOT_FOUND 1029"View '%-.64s' doesn't exist for '%-.64s'",#define ER_GET_ERRNO 1030"Got error %d from storage engine",#define ER_ILLEGAL_HA 1031"Table storage engine for '%-.64s' doesn't have this option",#define ER_KEY_NOT_FOUND 1032"Can't find record in '%-.64s'",#define ER_NOT_FORM_FILE 1033"Incorrect information in file: '%-.64s'",#define ER_NOT_KEYFILE 1034"Incorrect key file for table: '%-.64s'; try to repair it",#define ER_OLD_KEYFILE 1035"Old key file for table '%-.64s'; repair it!",#define ER_OPEN_AS_READONLY 1036"Table '%-.64s' is read only",#define ER_OUTOFMEMORY 1037"Out of memory. Restart daemon and try again (needed %d bytes)",#define ER_OUT_OF_SORTMEMORY 1038"Out of sort memory. Increase daemon sort buffer size",#define ER_UNEXPECTED_EOF 1039"Unexpected eof found when reading file '%-.64s' (errno: %d)",#define ER_CON_COUNT_ERROR 1040"Too many connections",#define ER_OUT_OF_RESOURCES 1041"Out of memory; Check if mysqld or some other process uses all available memory. If not you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space", #define ER_BAD_HOST_ERROR 1042"Can't get hostname for your address",#define ER_HANDSHAKE_ERROR 1043"Bad handshake",#define ER_DBACCESS_DENIED_ERROR 1044"Access denied for user: [email=]'%-.32s'@'%-.64s'[/email] to database '%-.64s'",#define ER_ACCESS_DENIED_ERROR 1045"Access denied for user: [email=]'%-.32s'@'%-.64s'[/email] (Using password: %s)",#define ER_NO_DB_ERROR 1046"No Database Selected",#define ER_UNKNOWN_COM_ERROR 1047"Unknown command",#define ER_BAD_NULL_ERROR 1048"Column '%-.64s' cannot be null",#define ER_BAD_DB_ERROR 1049"Unknown database '%-.64s'",#define ER_TABLE_EXISTS_ERROR 1050"Table '%-.64s' already exists",#define ER_BAD_TABLE_ERROR 1051"Unknown table '%-.64s'",#define ER_NON_UNIQ_ERROR 1052"Column: '%-.64s' in %-.64s is ambiguous",#define ER_SERVER_SHUTDOWN 1053"Server shutdown in progress",#define ER_BAD_FIELD_ERROR 1瘀牡?剕????o鸞?054"Unknown column '%-.64s' in '%-.64s'",#define ER_WRONG_FIELD_WITH_GROUP 1055"'%-.64s' isn't in GROUP BY",#define ER_WRONG_GROUP_FIELD 1056"Can't group on '%-.64s'",#define ER_WRONG_SUM_SELECT 1057"Statement has sum functions and columns in same statement",#define ER_WRONG_VALUE_COUNT 1058"Column count doesn't match value count",#define ER_TOO_LONG_IDENT 1059"Identifier name '%-.100s' is too long",#define ER_DUP_FIELDNAME 1060"Duplicate column name '%-.64s'",#define ER_DUP_KEYNAME 1061"Duplicate key name '%-.64s'",#define ER_DUP_ENTRY 1062"Duplicate entry '%-.64s' for key %d",#define ER_WRONG_FIELD_SPEC 1063"Incorrect column specifier for column '%-.64s'",#define ER_PARSE_ERROR 1064"%s near '%-.80s' at line %d",#define ER_EMPTY_QUERY 1065"Query was empty",#define ER_NONUNIQ_TABLE 1066"Not unique table/alias: '%-.64s'",#define ER_INVALID_DEFAULT 1067"Invalid default value for '%-.64s'",#define ER_MULTIPLE_PRI_KEY 1068"Multiple primary key defined",#define ER_TOO_MANY_KEYS 1069"Too many keys specified; max %d keys allowed",#define ER_TOO_MANY_KEY_PARTS 1070"Too many key parts specified. Max %d parts allowed",#define ER_TOO_LONG_KEY 1071"Specified key was too long; max key length is %d bytes",#define ER_KEY_COLUMN_DOES_NOT_EXITS 1072"Key column '%-.64s' doesn't exist in table",#define ER_BLOB_USED_AS_KEY 1073"BLOB column '%-.64s' can't be used in key specification with the used table type", #define ER_TOO_BIG_FIELDLENGTH 1074"Too big column length for column '%-.64s' (max = %d). Use BLOB instead",#define ER_WRONG_AUTO_KEY 1075"Incorrect table definition; There can only be one auto column and it must be defined as a key", #define ER_READY 1076"%s: ready for connections.Version: '%s' socket: '%s' port: %d",#define ER_NORMAL_SHUTDOWN 1077"%s: Normal shutdown",#define ER_GOT_SIGNAL 1078"%s: Got signal %d. Aborting!",#define ER_SHUTDOWN_COMPLETE 1079"%s: Shutdown Complete",#define ER_FORCING_CLOSE 1080"%s: 瘀牡?剕????o鸞?Forcing close of thread %ld user: '%-.32s'",#define ER_IPSOCK_ERROR 1081"Can't create IP socket",#define ER_NO_SUCH_INDEX 1082"Table '%-.64s' has no index like the one used in CREATE INDEX. Recreate the table",#define ER_WRONG_FIELD_TERMINATORS 1083"Field separator argument is not what is expected. Check the manual",#define ER_BLOBS_AND_NO_TERMINATED 1084"You can't use fixed rowlength with BLOBs. Please use 'fields terminated by'",#define ER_TEXTFILE_NOT_READABLE 1085"The file '%-.64s' must be in the database directory or be readable by all",#define ER_FILE_EXISTS_ERROR 1086"File '%-.80s' already exists",#define ER_LOAD_INFO 1087"Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld",#define ER_ALTER_INFO 1088"Records: %ld Duplicates: %ld",#define ER_WRONG_SUB_KEY 1089"Incorrect sub part key. The used key part isn't a string, the used length is longer than the key part or the storage engine doesn't support unique sub keys",#define ER_CANT_REMOVE_ALL_FIELDS 1090"You can't delete all columns with ALTER TABLE. Use DROP TABLE instead",#define ER_CANT_DROP_FIELD_OR_KEY 1091"Can't DROP '%-.64s'. Check that column/key exists",#define ER_INSERT_INFO 1092"Records: %ld Duplicates: %ld Warnings: %ld",#define ER_UPDATE_TABLE_USED 1093"You can't specify target table '%-.64s' for update in FROM clause",#define ER_NO_SUCH_THREAD 1094"Unknown thread id: %lu",#define ER_KILL_DENIED_ERROR 1095"You are not owner of thread %lu",#define ER_NO_TABLES_USED 1096"No tables used",#define ER_TOO_BIG_SET 1097"Too many strings for column %-.64s and SET",#define ER_NO_UNIQUE_LOGFILE 1098"Can't generate a unique log-filename %-.64s.(1-999)",#define ER_TABLE_NOT_LOCKED_FOR_WRITE 1099"Table '%-.64s' was locked with a READ lock and can't be updated",#define ER_TABLE_NOT_LOCKED 1100"Table '%-.64s' was not locked with LOCK TABLES",#define ER_BLOB_CANT_HAVE_DEFAULT 1101"BLOB/TEXT column '%-.64s' can't have a default value",#define ER_WRONG_DB_NAME 1102"Incorre瘀牡?剕????o鸞?ct database name '%-.100s'",#define ER_WRONG_TABLE_NAME 1103"Incorrect table name '%-.100s'",#define ER_TOO_BIG_SELECT 1104"The SELECT would examine more rows than MAX_JOIN_SIZE. Check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is ok",#define ER_UNKNOWN_ERROR 1105"Unknown error",#define ER_UNKNOWN_PROCEDURE 1106"Unknown procedure '%-.64s'",#define ER_WRONG_PARAMCOUNT_TO_PROCEDURE 1107"Incorrect parameter count to procedure '%-.64s'",#define ER_WRONG_PARAMETERS_TO_PROCEDURE 1108"Incorrect parameters to procedure '%-.64s'",#define ER_UNKNOWN_TABLE 1109"Unknown table '%-.64s' in %-.32s",#define ER_FIELD_SPECIFIED_TWICE 1110"Column '%-.64s' specified twice",#define ER_INVALID_GROUP_FUNC_USE 1111"Invalid use of group function",#define ER_UNSUPPORTED_EXTENSION 1112"Table '%-.64s' uses an extension that doesn't exist in this MySQL version",#define ER_TABLE_MUST_HAVE_COLUMNS 1113"A table must have at least 1 column",#define ER_RECORD_FILE_FULL 1114"The table '%-.64s' is full",#define ER_UNKNOWN_CHARACTER_SET 1115"Unknown character set: '%-.64s'",#define ER_TOO_MANY_TABLES 1116"Too many tables. MySQL can only use %d tables in a join",#define ER_TOO_MANY_FIELDS 1117"Too many columns",#define ER_TOO_BIG_ROWSIZE 1118"Too big row size. The maximum row size for the used table type, not counting BLOBs, is %ld. You have to change some fields to TEXT or BLOBs",#define ER_STACK_OVERRUN 1119"Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld -O thread_stack=#' to specify a bigger stack if needed",#define ER_WRONG_OUTER_JOIN 1120"Cross dependency found in OUTER JOIN. Examine your ON conditions",#define ER_NULL_COLUMN_IN_INDEX 1121"Column '%-.64s' is used with UNIQUE or INDEX but is not defined as NOT NULL",#define ER_CANT_FIND_UDF 1122"Can't load function '%-.64s'",#define ER_CANT_INITIALIZE_UDF 1123"Can't initialize function '%-.64s'; %-.80s",#define ER_UDF_NO_PATHS 1124"No paths allowed for shared瘀牡?剕????o鸞? library",#define ER_UDF_EXISTS 1125"Function '%-.64s' already exist",#define ER_CANT_OPEN_LIBRARY 1126"Can't open shared library '%-.64s' (errno: %d %-.64s)",#define ER_CANT_FIND_DL_ENTRY 1127"Can't find function '%-.64s' in library'",#define ER_FUNCTION_NOT_DEFINED 1128"Function '%-.64s' is not defined",#define ER_HOST_IS_BLOCKED 1129"Host '%-.64s' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'",#define ER_HOST_NOT_PRIVILEGED 1130"Host '%-.64s' is not allowed to connect to this MySQL server",#define ER_PASSWORD_ANONYMOUS_USER 1131"You are using MySQL as an anonymous users and anonymous users are not allowed to change passwords",#define ER_PASSWORD_NOT_ALLOWED 1132"You must have privileges to update tables in the mysql database to be able to change passwords for others",#define ER_PASSWORD_NO_MATCH 1133"Can't find any matching row in the user table",#define ER_UPDATE_INFO 1134"Rows matched: %ld Changed: %ld Warnings: %ld",#define ER_CANT_CREATE_THREAD 1135"Can't create a new thread (errno %d). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug",#define ER_WRONG_VALUE_COUNT_ON_ROW 1136"Column count doesn't match value count at row %ld",#define ER_CANT_REOPEN_TABLE 1137"Can't reopen table: '%-.64s'",#define ER_INVALID_USE_OF_NULL 1138"Invalid use of NULL value",#define ER_REGEXP_ERROR 1139"Got error '%-.64s' from regexp",#define ER_MIX_OF_GROUP_FUNC_AND_FIELDS 1140"Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause",#define ER_NONEXISTING_GRANT 1141"There is no such grant defined for user '%-.32s' on host '%-.64s'",#define ER_TABLEACCESS_DENIED_ERROR 1142"%-.16s command denied to user: [email=]'%-.32s'@'%-.64s'[/email] for table '%-.64s'",#define ER_COLUMNACCESS_DENIED_ERROR 1143"%-.16s command denied to user: [email=]'%-.32s'@'%-.64s'[/email] for column '%-.64s' in table '%-.64s'",#define ER_ILLEGAL_GRANT_FOR_TABLE 1144"I瘀牡?剕????o鸞?llegal GRANT/REVOKE command. Please consult the manual which privileges can be used",#define ER_GRANT_WRONG_HOST_OR_USER 1145"The host or user argument to GRANT is too long",#define ER_NO_SUCH_TABLE 1146"Table '%-.64s.%-.64s' doesn't exist",#define ER_NONEXISTING_TABLE_GRANT 1147"There is no such grant defined for user '%-.32s' on host '%-.64s' on table '%-.64s'",#define ER_NOT_ALLOWED_COMMAND 1148"The used command is not allowed with this MySQL version",#define ER_SYNTAX_ERROR 1149"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use",#define ER_DELAYED_CANT_CHANGE_LOCK 1150"Delayed insert thread couldn't get requested lock for table %-.64s",#define ER_TOO_MANY_DELAYED_THREADS 1151"Too many delayed threads in use",#define ER_ABORTING_CONNECTION 1152"Aborted connection %ld to db: '%-.64s' user: '%-.32s' (%-.64s)",#define ER_NET_PACKET_TOO_LARGE 1153"Got a packet bigger than 'max_allowed_packet'",#define ER_NET_READ_ERROR_FROM_PIPE 1154"Got a read error from the connection pipe",#define ER_NET_FCNTL_ERROR 1155"Got an error from fcntl()",#define ER_NET_PACKETS_OUT_OF_ORDER 1156"Got packets out of order",#define ER_NET_UNCOMPRESS_ERROR 1157"Couldn't uncompress communication packet",#define ER_NET_READ_ERROR 1158"Got an error reading communication packets",#define ER_NET_READ_INTERRUPTED 1159"Got timeout reading communication packets",#define ER_NET_ERROR_ON_WRITE 1160"Got an error writing communication packets",#define ER_NET_WRITE_INTERRUPTED 1161"Got timeout writing communication packets",#define ER_TOO_LONG_STRING 1162"Result string is longer than max_allowed_packet",#define ER_TABLE_CANT_HANDLE_BLOB 1163"The used table type doesn't support BLOB/TEXT columns",#define ER_TABLE_CANT_HANDLE_AUTO_INCREMENT 1164"The used table type doesn't support AUTO_INCREMENT columns",#define ER_DELAYED_INSERT_TABLE_LOCKED 1165"INSERT DELAYED can't be used with table '%-.64s瘀牡?剕????o鸞?' because it is locked with LOCK TABLES",#define ER_WRONG_COLUMN_NAME 1166"Incorrect column name '%-.100s'",#define ER_WRONG_KEY_COLUMN 1167"The used storage engine can't index column '%-.64s'",#define ER_WRONG_MRG_TABLE 1168"All tables in the MERGE table are not identically defined",#define ER_DUP_UNIQUE 1169"Can't write, because of unique constraint, to table '%-.64s'",#define ER_BLOB_KEY_WITHOUT_LENGTH 1170"BLOB/TEXT column '%-.64s' used in key specification without a key length",#define ER_PRIMARY_CANT_HAVE_NULL 1171"All parts of a PRIMARY KEY must be NOT NULL; If you need NULL in a key, use UNIQUE instead", #define ER_TOO_MANY_ROWS 1172"Result consisted of more than one row",#define ER_REQUIRES_PRIMARY_KEY 1173"This table type requires a primary key","This version of MySQL is not compiled with RAID support",#define ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE 1175"You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column",#define ER_KEY_DOES_NOT_EXITS 1176"Key '%-.64s' doesn't exist in table '%-.64s'",#define ER_CHECK_NO_SUCH_TABLE 1177"Can't open table",#define ER_CHECK_NOT_IMPLEMENTED 1178"The storage engine for the table doesn't support %s",#define ER_CANT_DO_THIS_DURING_AN_TRANSACTION 1179"You are not allowed to execute this command in a transaction",#define ER_ERROR_DURING_COMMIT 1180"Got error %d during COMMIT",#define ER_ERROR_DURING_ROLLBACK 1181"Got error %d during ROLLBACK",#define ER_ERROR_DURING_FLUSH_LOGS 1182"Got error %d during FLUSH_LOGS",#define ER_ERROR_DURING_CHECKPOINT 1183"Got error %d during CHECKPOINT",#define ER_NEW_ABORTING_CONNECTION 1184"Aborted connection %ld to db: '%-.64s' user: '%-.32s' host: `%-.64s' (%-.64s)",#define ER_DUMP_NOT_IMPLEMENTED 1185"The storage engine for the table does not support binary table dump",#define ER_FLUSH_MASTER_BINLOG_CLOSED 1186"Binlog closed, cannot RESET MASTER",#define ER_INDEX_REBUILD 1187"Faile瘀牡?剕????o鸞?d rebuilding the index of dumped table '%-.64s'",#define ER_MASTER 1188"Error from master: '%-.64s'",#define ER_MASTER_NET_READ 1189"Net error reading from master",#define ER_MASTER_NET_WRITE 1190"Net error writing to master",#define ER_FT_MATCHING_KEY_NOT_FOUND 1191"Can't find FULLTEXT index matching the column list",#define ER_LOCK_OR_ACTIVE_TRANSACTION 1192"Can't execute the given command because you have active locked tables or an active transaction",#define ER_UNKNOWN_SYSTEM_VARIABLE 1193"Unknown system variable '%-.64s'",#define ER_CRASHED_ON_USAGE 1194"Table '%-.64s' is marked as crashed and should be repaired","Table '%-.64s' is marked as crashed and last (automatic?) repair failed",#define ER_WARNING_NOT_COMPLETE_ROLLBACK 1196"Some non-transactional changed tables couldn't be rolled back",#define ER_TRANS_CACHE_FULL 1197"Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage. Increase this mysqld variable and try again",#define ER_SLAVE_MUST_STOP 1198"This operation cannot be performed with a running slave, run STOP SLAVE first",#define ER_SLAVE_NOT_RUNNING 1199"This operation requires a running slave, configure slave and do START SLAVE",#define ER_BAD_SLAVE 1200"The server is not configured as slave, fix in config file or with CHANGE MASTER TO",#define ER_MASTER_INFO 1201"Could not initialize master info structure, more error messages can be found in the MySQL error log",#define ER_SLAVE_THREAD 1202"Could not create slave thread, check system resources",#define ER_TOO_MANY_USER_CONNECTIONS 1203"User %-.64s has already more than 'max_user_connections' active connections",#define ER_SET_CONSTANTS_ONLY 1204"You may only use constant expressions with SET",#define ER_LOCK_WAIT_TIMEOUT 1205"Lock wait timeout exceeded; Try restarting transaction",#define ER_LOCK_TABLE_FULL 1206"The total number of locks exceeds the lock table size",#define ER_READ_ONLY_TRANSACTION 1207瘀牡?剕????o鸞?"Update locks cannot be acquired during a READ UNCOMMITTED transaction",#define ER_DROP_DB_WITH_READ_LOCK 1208"DROP DATABASE not allowed while thread is holding global read lock",#define ER_CREATE_DB_WITH_READ_LOCK 1209"CREATE DATABASE not allowed while thread is holding global read lock",#define ER_WRONG_ARGUMENTS 1210"Wrong arguments to %s",#define ER_NO_PERMISSION_TO_CREATE_USER 1211"[email=]'%-.32s'@'%-.64s'[/email] is not allowed to create new users",#define ER_UNION_TABLES_IN_DIFFERENT_DIR 1212"Incorrect table definition; all MERGE tables must be in the same database",#define ER_LOCK_DEADLOCK 1213"Deadlock found when trying to get lock; Try restarting transaction",#define ER_TABLE_CANT_HANDLE_FT 1214"The used table type doesn't support FULLTEXT indexes",#define ER_CANNOT_ADD_FOREIGN 1215"Cannot add foreign key constraint",#define ER_NO_REFERENCED_ROW 1216"Cannot add or update a child row: a foreign key constraint fails",#define ER_ROW_IS_REFERENCED 1217"Cannot delete or update a parent row: a foreign key constraint fails",#define ER_CONNECT_TO_MASTER 1218"Error connecting to master: %-.128s",#define ER_QUERY_ON_MASTER 1219"Error running query on master: %-.128s",#define ER_ERROR_WHEN_EXECUTING_COMMAND 1220"Error when executing command %s: %-.128s",#define ER_WRONG_USAGE 1221"Wrong usage of %s and %s",#define ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT 1222"The used SELECT statements have a different number of columns",#define ER_CANT_UPDATE_WITH_READLOCK 1223"Can't execute the query because you have a conflicting read lock",#define ER_MIXING_NOT_ALLOWED 1224"Mixing of transactional and non-transactional tables is disabled",#define ER_DUP_ARGUMENT 1225"Option '%s' used twice in statement",#define ER_USER_LIMIT_REACHED 1226"User '%-.64s' has exceeded the '%s' resource (current value: %ld)",#define ER_SPECIFIC_ACCESS_DENIED_ERROR 1227"Access denied. You need the %-.128s privilege for this operation",#define ER_LOCAL_VARIABLE 1228"Variable '%-.64s' 瘀牡?剕????o鸞?is a SESSION variable and can't be used with SET GLOBAL",#define ER_GLOBAL_VARIABLE 1229"Variable '%-.64s' is a GLOBAL variable and should be set with SET GLOBAL",#define ER_NO_DEFAULT 1230"Variable '%-.64s' doesn't have a default value",#define ER_WRONG_VALUE_FOR_VAR 1231"Variable '%-.64s' can't be set to the value of '%-.64s'",#define ER_WRONG_TYPE_FOR_VAR 1232"Wrong argument type to variable '%-.64s'",#define ER_VAR_CANT_BE_READ 1233"Variable '%-.64s' can only be set, not read",#define ER_CANT_USE_OPTION_HERE 1234"Wrong usage/placement of '%s'",#define 1235"This version of MySQL doesn't yet support '%s'",#define ER_MASTER_FATAL_ERROR_READING_BINLOG 1236"Got fatal error %d: '%-.128s' from master when reading data from binary log",#define ER_SLAVE_IGNORED_TABLE 1237"Slave SQL thread ignored the query because of replicate-*-table rules",#define ER_INCORRECT_GLOBAL_LOCAL_VAR 1238"Variable '%-.64s' is a %s variable",#define ER_WRONG_FK_DEF 1239"Wrong foreign key definition for '%-.64s': %s",#define ER_KEY_REF_DO_NOT_MATCH_TABLE_REF 1240"Key reference and table reference doesn't match",#define ER_OPERAND_COLUMNS 1241"Operand should contain %d column(s)",#define ER_SUBQUERY_NO_1_ROW 1242"Subquery returns more than 1 row",#define ER_UNKNOWN_STMT_HANDLER 1243"Unknown prepared statement handler (%ld) given to %s",#define ER_CORRUPT_HELP_DB 1244"Help database is corrupt or does not exist",#define ER_CYCLIC_REFERENCE 1245"Cyclic reference on subqueries",#define ER_AUTO_CONVERT 1246"Converting column '%s' from %s to %s",#define ER_ILLEGAL_REFERENCE 1247"Reference '%-.64s' not supported (%s)",#define ER_DERIVED_MUST_HAVE_ALIAS 1248"Every derived table must have it's own alias",#define ER_SELECT_REDUCED 1249"Select %u was reduced during optimisation",#define ER_TABLENAME_NOT_ALLOWED_HERE 1250"Table '%-.64s' from one of SELECT's can not be used in %-.32s",#define ER_NOT_SUPPORTED_AUTH_MODE 1251"Client does not support authentication pr瘀牡?剕????o鸞?otocol requested by server; consider upgrading MySQL client",#define ER_SPATIAL_CANT_HAVE_NULL 1252"All parts of a SPATIAL KEY must be NOT NULL",#define ER_COLLATION_CHARSET_MISMATCH 1253"COLLATION '%s' is not valid for CHARACTER SET '%s'",#define ER_SLAVE_WAS_RUNNING 1254"Slave is already running",#define ER_SLAVE_WAS_NOT_RUNNING 1255"Slave has already been stopped",#define ER_TOO_BIG_FOR_UNCOMPRESS 1256"Too big size of uncompressed data. The maximum size is %d. (probably, length of uncompressed data was corrupted)",#define ER_ZLIB_Z_MEM_ERROR 1257"ZLIB: Not enough memory",#define ER_ZLIB_Z_BUF_ERROR 1258。

相关文档
最新文档