Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

MySQL. Библиотека профессионала - Аткинсон Л

..pdf
Скачиваний:
167
Добавлен:
24.05.2014
Размер:
10.41 Mб
Скачать

582 Приложение Г. Коды ошибок MySQL

Код Описание

Ошибка протокола

72Попытка выполнить несколько переходов

73Ошибка

74Неправильное сообщение

75Значение слишком велико для типаданных

76Имя не уникально в сети

77Неправильное состояние файлового дескриптора

78Адрес в удаленной системе изменился

79Доступ к совместно используемой библиотеке невозможен

80Попытка доступа к поврежденной совместно используемой библиотеке

81

Секция lib файла out

82Попытка подключить слишком много совместно используемых лиотек

83Невозможно напрямую обратиться к совместно используемой

теке

84Неправильный или неполный многобайтовый символ

85Прерванный системный вызов должен быть запущен повторно

86Ошибка канала потоков ввода/вывода

87Слишком много пользователей

88Попытка выполнить операцию, разрешенную только для

89Необходим адрес получателя

90Сообщение слишком велико

91Неправильный тип протокола для сокета

92Протокол недоступен

93Протокол не поддерживается

94Тип сокета не поддерживается

95Операция не поддерживается

96Семейство протоколов не поддерживается

Коды ошибок MySQL 583

Код Описание

97Семейство адресов не поддерживается для данного протокола

98Адрес уже используется

99Невозможно назначить запрашиваемый адрес

100Сеть не функционирует

101Сеть недоступна

102Разрыв сетевого соединения при сбросе системы

103Программа разорвала соединение

104Соединение разорвано противоположной стороной

105 переполнен

106Точка доставки пакета уже подключена

107Точка доставки пакета не подключена

108Доставка пакета невозможна, так как принимающая сторона не функ ционирует

109Слишком многоссылок; слияние невозможно

Соединение разорвано по истечении тайм аута В соединении отказано Узел не функционирует

113Нетмаршрута к узлу

114Операцияуже выполняется

Операция начала выполняться Устаревший дескриптор файла NFS Структура требует очистки Файл не соответствует заданному типу

Отсутствуют доступные семафоры XENIX

Файл соответствует заданному типу, но не найден ключ для операции чтения или обновления

121Дублирующийся ключ воперации записи или обновления

122Превышенадисковая квота

584 Приложение Г. Коды ошибок MySQL

Код

Описание

 

Запись была изменена с момента последнего чтения; изменение явля

 

ется обратимым

124

Получен неверный индекс

126

Индексный файл поврежден неверный формат файла

 

Файл записей поврежден

131Команда не поддерживаетсябазой данных

132Старый файл базы данных

133Перед обновлением не была прочитана ни одна строка

134Запись уже была удалена (или файл записей поврежден)

Файл записей переполнен

136Индексный файл переполнен

137Записей больше нет (попытка чтения за пределами файла)

138Табличное расширение не поддерживается

139Слишком большая запись 16 Мбайт)

Неправильные опции создания таблицы

141Дублирующийся уникальный ключ либо дублирующееся ограничение уникальности в операции записи или обновления

142Использован неизвестный набор символов

143Конфликт определений таблицы типа MERGE и исходных таблиц

144Таблица повреждена либо последняя операция восстановления шиласьнеудачей

145Таблица была помечена как поврежденная и должна быть восстанов лена

Втабл. Г.2 перечислены коды ошибок, возвращаемые функциями библиотеки языка

С.Соответствующие сообщения определены в английской версии файла

Коды ошибок MySQL 585

Код

 

 

 

 

1000

 

 

 

 

1001

 

 

 

 

1002

NO

 

 

 

1003

 

 

 

 

1004

Can't create file

%d)

 

1005

Can't create table

(errno:

 

1006

Can'tcreate database

(errno: %d)

 

1007

Can't create database

Database exists

 

1008

Can't drop database

Database doesn't exist

1009

Error dropping database (can't delete

errno: %d)

1010

Error dropping database (can't

errno:

 

Error on delete of

(errno:

 

1012

Can't read record in system table

 

1013

Can't get status of

(errno:

 

1014

Can't getworking directory (errno:

 

1015

Can't lock file (errno:

 

 

1016

Can't openfile:

(errno: %d)

 

1017

Can't find file:

(errno:

 

1018

Can'tread

 

(errno: %d)

 

1019

Can't change dir to

(errno: %d)

 

1020

Record has changed since last read in table

 

1021

Disk full

Waiting forsomeone to free some

1022

 

duplicate

in

 

1023

Error on close of

(errno: %d)

 

1024

Error reading file

(errno:

 

Приложение Г. ошибок MySQL

Код

Описание

 

 

1025

Error on rename of

to

 

1026

Error writing file

(errno: %d)

 

1027

is locked against change

 

1028

Sort aborted

 

 

1029

exist

 

 

1030

Got error %d from table handler

 

1031

Table handler for doesn't have this option

 

Can't find record in

 

 

1033

Incorrect information in file:'% .64s'

 

1034

Incorrect key file for table:

Try to repair it

1035

file for

it!

 

1036

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 found when reading file

(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

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:

 

to database

1045

Access denied for user:

 

(Using password:

1046

No database selected

 

 

1047

Unknown command

 

 

1048

 

null

 

Коды ошибок MySQL 587

Код

Описание

 

1049

 

 

1050

Table already exists

1051

Unknown

 

1052

Column: in isambiguous

1053

Server shutdown in progress

1054

Unknown

 

1055

in GROUP BY

1056

Can't group on

 

 

Statement has sum functions and columns in same statement

1058

Column count doesn't match value count

1059

Identifier

long

1060

 

name

 

Duplicate key name

1062

Duplicate entry

for key %d

1063

Incorrect column specifier for

1064

near

at line

1065

Query was empty

1066

Not unique

 

1067

Invalid default value for

1068

Multiple primary key defined

1069

Too many keys specified. Max keysallowed

1070

Too many key parts specified. Max parts allowed

1071

Specified key was too long. Max key length is %d

1072

Key column

doesn't exist in table

1073

BLOB column

can't beused in key specification with the used table type

588 Приложение Г. Коды ошибок MySQL

Код

Описание

 

 

 

 

Too big column length for column

(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

 

 

 

1078

%s: Got signal

 

 

1079

Shutdown Complete\n

 

 

1080

%s: Forcing close ofthread

user:

 

1081

Can't create IP socket

 

 

1082

Table

has no index like the one used in CREATE INDEX.

 

the table

 

 

 

1083

Field separator argument is not what is expected. Check the manual

1084

You can't use fixed

with

Please use terminated

1085

The file

must be in the database directory or be readable by all

1086

 

exists

 

 

1087

Records: Deleted: Skipped: %ld Warnings: %ld

1088

Records: %ld Duplicates:

 

 

1089

Incorrect sub part key. The used key part

a string or the used length is

 

longer than the key part

 

 

1090

You can't delete all columns with ALTERTABLE. Use DROP TABLE instead

1091

Can't DROP

Check that column/key exists

1092

Records: %ld Duplicates: Warnings:

 

1093

INSERT TABLE isn't allowed in FROM table list

 

Unknown thread id:

 

 

1095

You are not

owner of thread

 

 

1096

No tables used

 

 

1097

Too many strings for column

and SET

Коды ошибок MySQL 589

Код

Описание

 

 

1098

 

 

 

1099

Table

was locked with a READ lock and can't be updated

1100

 

 

not locked LOCK

 

BLOB column

can't have a default value

 

Incorrect database name

 

Incorrect table name

 

The SELECT would examine too many records and probably take a very

 

long time. Check your and use SETOPTION

 

 

 

if the SELECT is ok

 

Unknown error

 

1106

Unknown

 

1107

Incorrect

parameter count to

1108

Incorrect parameters to

 

Unknown table

in

 

Column

 

specified twice

1111

Invalid use of group function

Table uses an extension that doesn't exist in this MySQL version

A table must have at least 1 column

The table is full

Unknown character set:

Too many tables. MySQL can only use tables in join

Too many columns

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

Thread stack overrun: Used: of a stack. Use to specify a bigger stack if needed

Cross dependency found in OUTERJOIN. Examine your ON conditions

590 Приложение Г. Коды ошибок MySQL

Код Описание

Column is used with UNIQUE or INDEX but is not defined as NOT NULL

1122

load

 

 

 

Can't initialize

%-.80s

 

No paths allowed for shared library

 

Function

already exists

 

Can't open shared library

 

 

Can't function

in library

 

Function

is not defined

1129

Host

is blocked because of many connection errors. Unblock with

 

 

flush-hosts'

 

 

Host

is not a llowed to connect to this MySQL server

You are using MySQL as an anonymous user and anonymous users are not allowed to change passwords

 

You must have privileges to update tables in the

database to be able

 

to change passwords for others

 

 

Can't find any matching row in the user table

 

 

Rows matched: %ld Changed: %ld Warnings: %ld

 

1135

Can't create a new thread (errno %d). If you are not out of available mem-

 

ory, you can consult the manual for a possible

bug

 

Column count doesn't match value count at row %ld

 

1137

Can't reopen

 

 

1138

Invalid

NULL value

 

 

Got

from

 

 

Mixing of GROUP columns

with no GROUP

 

columns is illegal if there is no GROUP BY clause

 

There is no such grant defined for user on host

1142

% .16s command denied to user:

for table

Коды ошибок MySQL

Код

Описание

 

 

1143

command denied to

for column

 

table

 

 

 

Illegal GRANT/REVOKE command. Please consult the manual for which

 

privileges can be used

 

 

1145

The host or user argument to GRANT is too long

 

1146

Table

exist

 

1147

There is no such grant defined for user

on host on table

 

The used command is not allowed with this MySQL version

 

You have an error in your SQL syntax

 

 

Delayed insert thread couldn't get requested lock for table

 

Too many delayed threads in use

 

 

Aborted connection %ld to

user:

(% .64s)

 

Got a packet bigger than

 

 

 

Got a read error from the connection pipe

 

 

Got an error from fcntl()

 

 

1156

Got packets out of order

 

 

 

Couldn't uncompress communication packet

 

 

Got an error reading communication packets

 

 

Got timeout reading communicationpackets

 

 

Got an error writing communication packets

 

 

Got timeout writing communication packets

 

 

Result string is longer than max_allowed_packet

 

 

The used table type doesn't support BLOB/TEXT columns

 

The used table type doesn't support

columns

1165

INSERT DELAYED

be used with table

because it is locked

 

LOCK TABLES