DB 문서들
DSN 갤러리
MySQL Devel 15744 게시물 읽기
 News | Q&A | Columns | Tutorials | Devel | Files | Links
No. 15744
MySQL 에러코드별 에러메세지 입니다.
2002-04-18 12:39

mysql 의 mysqld_error.h 와 설치후의 errmsg.txt 파일을 비교해보니 각 코드별 에러메세지가 맞아 떨어지더군엽... 메세지와 define 함수를 대충 보니 이게 맞는 것 같습니다. 혹시 필요하신 분이 있을지 몰라 올려드립니다.

함 비교해 보시고 틀린부분 있으면 리플 달아 주세엽~ 그럼 이만..






1004\Can\t create file \%-.64s\ (errno: %d)\,

1005\Can\t create table \%-.64s\ (errno: %d)\,

1006\Can\t create database \%-.64s\. (errno: %d)\,

1007\Can\t create database \%-.64s\. Database exists\,

1008\Can\t drop database \%-.64s\. Database doesn\t exist\,

1009\Error dropping database (can\t delete \%-.64s\, errno: %d)\,

1010\Error dropping database (can\t rmdir \%-.64s\, errno: %d)\,

1011\Error on delete of \%-.64s\ (errno: %d)\,

1012\Can\t read record in system table\,

1013\Can\t get status of \%-.64s\ (errno: %d)\,

1014\Can\t get working directory (errno: %d)\,

1015\Can\t lock file (errno: %d)\,

1016\Can\t open file: \%-.64s\. (errno: %d)\,

1017\Can\t find file: \%-.64s\ (errno: %d)\,

1018\Can\t read dir of \%-.64s\ (errno: %d)\,

1019\Can\t change dir to \%-.64s\ (errno: %d)\,

1020\Record has changed since last read in table \%-.64s\,

1021\Disk full (%s). Waiting for someone to free some space....\,

1022\Can\t write, duplicate key in table \%-.64s\,

1023\Error on close of \%-.64s\ (errno: %d)\,

1024\Error reading file \%-.64s\ (errno: %d)\,

1025\Error on rename of \%-.64s\ to \%-.64s\ (errno: %d)\,

1026\Error writing file \%-.64s\ (errno: %d)\,

1027\%-.64s\ is locked against change\,

1028\Sort aborted\,

1029\View \%-.64s\ doesn\t exist for \%-.64s\,

1030\Got error %d from table handler\,

1031\Table handler for \%-.64s\ doesn\t have this option\,

1032\Can\t find record in \%-.64s\,

1033\Incorrect information in file: \%-.64s\,

1034\Incorrect key file for table: \%-.64s\. Try to repair it\,

1035\Old key file for table \%-.64s\; Repair it!\,

1036\Table \%-.64s\ is read only\,

1037\Out of memory. Restart daemon and try again (needed %d bytes)\,

1038\Out of sort memory. Increase daemon sort buffer size\,

1039\Unexpected eof found when reading file \%-.64s\ (errno: %d)\,

1040\Too many connections\,

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\,

1042\Can\t get hostname for your address\,

1043\Bad handshake\,

1044\Access denied for user: \%-.32s@%-.64s\ to database \%-.64s\,

1045\Access denied for user: \%-.32s@%-.64s\ (Using password: %s)\,

1046\No Database Selected\,

1047\Unknown command\,

1048\Column \%-.64s\ cannot be null\,

1049\Unknown database \%-.64s\,

1050\Table \%-.64s\ already exists\,

1051\Unknown table \%-.64s\,

1052\Column: \%-.64s\ in %-.64s is ambiguous\,

1053\Server shutdown in progress\,

1054\Unknown column \%-.64s\ in \%-.64s\,

1055\%-.64s\ isn\t in GROUP BY\,

1056\Can\t group on \%-.64s\,

1057\Statement has sum functions and columns in same statement\,

1058\Column count doesn\t match value count\,

1059\Identifier name \%-.100s\ is too long\,

1060\Duplicate column name \%-.64s\,

1061\Duplicate key name \%-.64s\,

1062\Duplicate entry \%-.64s\ for key %d\,

1063\Incorrect column specifier for column \%-.64s\,

1064\%s near \%-.80s\ at line %d\,

1065\Query was empty\,

1066\Not unique table/alias: \%-.64s\,

1067\Invalid default value for \%-.64s\,

1068\Multiple primary key defined\,

1069\Too many keys specified. Max %d keys allowed\,

1070\Too many key parts specified. Max %d parts allowed\,

1071\Specified key was too long. Max key length is %d\,

1072\Key column \%-.64s\ doesn\t exist in table\,

1073\BLOB column \%-.64s\ can\t be used in key specification with the used table type\,

1074\Too big column length for column \%-.64s\ (max = %d). Use BLOB instead\,

1075\Incorrect table definition; There can only be one auto column and it must be defined as a key\,

1076\%s: ready for connections\n\,

1077\%s: Normal shutdown\n\,

1078\%s: Got signal %d. Aborting!\n\,

1079\%s: Shutdown Complete\n\,

1080\%s: Forcing close of thread %ld user: \%-.32s\n\,

1081\Can\t create IP socket\,

1082\Table \%-.64s\ has no index like the one used in CREATE INDEX. Recreate the table\,

1083\Field separator argument is not what is expected. Check the manual\,

1084\You can\t use fixed rowlength with BLOBs. Please use \fields terminated by\.\,

1085\The file \%-.64s\ must be in the database directory or be readable by all\,

1086\File \%-.80s\ already exists\,

1087\Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld\,

1088\Records: %ld Duplicates: %ld\,

1089\Incorrect sub part key. The used key part isn\t a string, the used length is longer than the key part or the table handler doesn\t support unique sub keys\,

1090\You can\t delete all columns with ALTER TABLE. Use DROP TABLE instead\,

1091\Can\t DROP \%-.64s\. Check that column/key exists\,

1092\Records: %ld Duplicates: %ld Warnings: %ld\,

1093\INSERT TABLE \%-.64s\ isn\t allowed in FROM table list\,

1094\Unknown thread id: %lu\,

1095\You are not owner of thread %lu\,

1096\No tables used\,

1097\Too many strings for column %-.64s and SET\,

1098\Can\t generate a unique log-filename %-.64s.(1-999)\n\,

1099\Table \%-.64s\ was locked with a READ lock and can\t be updated\,

1100\Table \%-.64s\ was not locked with LOCK TABLES\,

1101\BLOB column \%-.64s\ can\t have a default value\,

1102\Incorrect database name \%-.100s\,

1103\Incorrect table name \%-.100s\,

1104\The SELECT would examine too many records and probably take a very long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok\,

1105\Unknown error\,

1106\Unknown procedure \%-.64s\,

1107\Incorrect parameter count to procedure \%-.64s\,

1108\Incorrect parameters to procedure \%-.64s\,

1109\Unknown table \%-.64s\ in %-.32s\,

1110\Column \%-.64s\ specified twice\,

1111\Invalid use of group function\,

1112\Table \%-.64s\ uses an extension that doesn\t exist in this MySQL version\,

1113\A table must have at least 1 column\,

1114\The table \%-.64s\ is full\,

1115\Unknown character set: \%-.64s\,

1116\Too many tables. MySQL can only use %d tables in a join\,

1117\Too many columns\,

1118\Too big row size. The maximum row size, not counting BLOBs, is %d. You have to change some fields to BLOBs\,

1119\Thread stack overrun: Used: %ld of a %ld stack. Use \mysqld -O thread_stack=#\ to specify a bigger stack if needed\,

1120\Cross dependency found in OUTER JOIN. Examine your ON conditions\,

1121\Column \%-.64s\ is used with UNIQUE or INDEX but is not defined as NOT NULL\,

1122\Can\t load function \%-.64s\,

1123\Can\t initialize function \%-.64s\; %-.80s\,

1124\No paths allowed for shared library\,

1125\Function \%-.64s\ already exist\,

1126\Can\t open shared library \%-.64s\ (errno: %d %-.64s)\,

1127\Can\t find function \%-.64s\ in library\,

1128\Function \%-.64s\ is not defined\,

1129\Host \%-.64s\ is blocked because of many connection errors. Unblock with \mysqladmin flush-hosts\,

1130\Host \%-.64s\ is not allowed to connect to this MySQL server\,

1131\You are using MySQL as an anonymous users and anonymous users are not allowed to change passwords\,

1132\You must have privileges to update tables in the mysql database to be able to change passwords for others\,

1133\Can\t find any matching row in the user table\,

1134\Rows matched: %ld Changed: %ld Warnings: %ld\,

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\,

1136\Column count doesn\t match value count at row %ld\,

1137\Can\t reopen table: \%-.64s\,

1138\Invalid use of NULL value\,

1139\Got error \%-.64s\ from regexp\,

1140\Mixing of GROUP columns (MIN(),MAX(),COUNT()...) with no GROUP columns is illegal if there is no GROUP BY clause\,

1141\There is no such grant defined for user \%-.32s\ on host \%-.64s\,

1142\%-.16s command denied to user: \%-.32s@%-.64s\ for table \%-.64s\,

1143\%-.16s command denied to user: \%-.32s@%-.64s\ for column \%-.64s\ in table \%-.64s\,

1144\Illegal GRANT/REVOKE command. Please consult the manual which privileges can be used.\,

1145\The host or user argument to GRANT is too long\,

1146\Table \%-.64s.%-.64s\ doesn\t exist\,

1147\There is no such grant defined for user \%-.32s\ on host \%-.64s\ on table \%-.64s\,

1148\The used command is not allowed with this MySQL version\,

1149\You have an error in your SQL syntax\,

1150\Delayed insert thread couldn\t get requested lock for table %-.64s\,

1151\Too many delayed threads in use\,

1152\Aborted connection %ld to db: \%-.64s\ user: \%-.32s\ (%-.64s)\,

1153\Got a packet bigger than \max_allowed_packet\,

1154\Got a read error from the connection pipe\,

1155\Got an error from fcntl()\,

1156\Got packets out of order\,

1157\Couldn\t uncompress communication packet\,

1158\Got an error reading communication packets\,

1159\Got timeout reading communication packets\,

1160\Got an error writing communication packets\,

1161\Got timeout writing communication packets\,

1162\Result string is longer than max_allowed_packet\,

1163\The used table type doesn\t support BLOB/TEXT columns\,

1164\The used table type doesn\t support AUTO_INCREMENT columns\,

1165\INSERT DELAYED can\t be used with table \%-.64s\, because it is locked with LOCK TABLES\,

1166\Incorrect column name \%-.100s\,

1167\The used table handler can\t index column \%-.64s\,

1168\All tables in the MERGE table are not identically defined\,

1169\Can\t write, because of unique constraint, to table \%-.64s\,

1170\BLOB column \%-.64s\ used in key specification without a key length\,

1171\All parts of a PRIMARY KEY must be NOT NULL; If you need NULL in a key, use UNIQUE instead\,

1172\Result consisted of more than one row\,

1173\This table type requires a primary key\,

1174\This version of MySQL is not compiled with RAID support\,

1175\You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column\,

1176\Key \%-.64s\ doesn\t exist in table \%-.64s\,

1177\Can\t open table\,

1178\The handler for the table doesn\t support check/repair\,

1179\You are not allowed to execute this command in a transaction\,

1180\Got error %d during COMMIT\,

1181\Got error %d during ROLLBACK\,

1182\Got error %d during FLUSH_LOGS\,

1183\Got error %d during CHECKPOINT\,

1184\Aborted connection %ld to db: \%-.64s\ user: \%-.32s\ host: `%-.64s\ (%-.64s)\,

1185\The handler for the table does not support binary table dump\,

1186\Binlog closed, cannot RESET MASTER\,

1187\Failed rebuilding the index of dumped table \%-.64s\,

1188\Error from master: \%-.64s\,

1189\Net error reading from master\,

1190\Net error writing to master\,

1191\Can\t find FULLTEXT index matching the column list\,

1192\Can\t execute the given command because you have active locked tables or an active transaction\,

1193\Unknown system variable \%-.64\,

1194\Table \%-.64s\ is marked as crashed and should be repaired\,

1195\Table \%-.64s\ is marked as crashed and last (automatic?) repair failed\,

1196\Warning: Some non-transactional changed tables couldn\t be rolled back\,

1197\Multi-statement transaction required more than \max_binlog_cache_size\ bytes of storage. Increase this mysqld variable and try again\,

1198\This operation cannot be performed with a running slave, run SLAVE STOP first\,

1199\This operation requires a running slave, configure slave and do SLAVE START\,

1200\The server is not configured as slave, fix in config file or with CHANGE MASTER TO\,

1201\Could not initialize master info structure, check permisions on\,

1202\Could not create slave thread, check system resources\,

1203\User %-.64s has already more than \max_user_connections\ active connections\,

1204\You may only use constant expressions with SET\,

1205\Lock wait timeout exceeded; Try restarting transaction\,

1206\The total number of locks exceeds the lock table size\,

1207\Update locks cannot be acquired during a READ UNCOMMITTED transaction\,

1208\DROP DATABASE not allowed while thread is holding global read lock\,

1209\CREATE DATABASE not allowed while thread is holding global read lock\,

1210\Wrong arguments to %s\,

1211\%-.32s@%-.64s is not allowed to create new users\,

1212\Incorrect table definition; All MERGE tables must be in the same database\,

1213\Deadlock found when trying to get lock; Try restarting transaction\,

1214\The used table type doesn\t support FULLTEXT indexes\,

1215\Cannot add foreign key constraint\,

1216\Cannot add a child row: a foreign key constraint fails\,

1217\Cannot delete a parent row: a foreign key constraint fails\,

16661[C Src] MySQL Optimize 0.1pre10 [소스]
16572MYSQL C++ API를 이용한 QUERY결과 가져오기 소스와 컴파일 [1]
16233[프로그램] DB 이용한 컨텐츠 관리 시스템
15744MySQL 에러코드별 에러메세지 입니다.
14706Perl with MySQL
13809간단한 api 사용예
13937┕>또 다른 간단한 C API 사용예
2001-12-03 03:01:50
13126[예제] mysql c 프로그램(소켓 프로그래밍 포함) [1]
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.058초, 이곳 서비스는
	PostgreSQL v14.6으로 자료를 관리합니다