1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 """Exceptions from the MySQL server.
30
31 These are all errors that the server-side of the MySQL API may generate.
32
33 Because older clients may connect to newer versions of the server, the server
34 may generate new errors that this client is not aware of. In this case, the
35 exception `mysql.exceptions.client.Unknown_Error` is raised.
36 """
37
38 __version__ = '$Revision: 1.5 $'
39
40 from mysql.exceptions.base import MySQL_Error
41
43
44 """hashchk """
45
47
48 """isamchk"""
49
50 -class No(MySQL_Error):
51
52 """NO"""
53
54 -class Yes(MySQL_Error):
55
56 """YES"""
57
59
60 """Can't create file '%s' (errno: %d)"""
61
63
64 """Can't create table '%s' (errno: %d)"""
65
67
68 """Can't create database '%s' (errno: %d)"""
69
71
72 """Can't create database '%s'; database exists"""
73
75
76 """Can't drop database '%s'; database doesn't exist"""
77
79
80 """Error dropping database (can't delete '%s', errno: %d)"""
81
83
84 """Error dropping database (can't rmdir '%s', errno: %d)"""
85
87
88 """Error on delete of '%s' (errno: %d)"""
89
91
92 """Can't read record in system table"""
93
95
96 """Can't get status of '%s' (errno: %d)"""
97
99
100 """Can't get working directory (errno: %d)"""
101
103
104 """Can't lock file (errno: %d)"""
105
107
108 """Can't open file: '%s' (errno: %d)"""
109
111
112 """Can't find file: '%s' (errno: %d)"""
113
115
116 """Can't read dir of '%s' (errno: %d)"""
117
119
120 """Can't change dir to '%s' (errno: %d)"""
121
123
124 """Record has changed since last read in table '%s'"""
125
127
128 """Disk full (%s); waiting for someone to free some space..."""
129
131
132 """Can't write; duplicate key in table '%s'"""
133
135
136 """Error on close of '%s' (errno: %d)"""
137
139
140 """Error reading file '%s' (errno: %d)"""
141
143
144 """Error on rename of '%s' to '%s' (errno: %d)"""
145
147
148 """Error writing file '%s' (errno: %d)"""
149
151
152 """'%s' is locked against change"""
153
155
156 """Sort aborted"""
157
159
160 """View '%s' doesn't exist for '%s'"""
161
163
164 """Got error %d from storage engine"""
165
167
168 """Table storage engine for '%s' doesn't have this option"""
169
171
172 """Can't find record in '%s'"""
173
175
176 """Incorrect information in file: '%s'"""
177
179
180 """Incorrect key file for table '%s'; try to repair it"""
181
183
184 """Old key file for table '%s'; repair it!"""
185
187
188 """Table '%s' is read only"""
189
191
192 """Out of memory; restart server and try again (needed %d bytes)"""
193
195
196 """Out of sort memory; increase server sort buffer size"""
197
199
200 """Unexpected EOF found when reading file '%s' (errno: %d)"""
201
203
204 """Too many connections"""
205
207
208 """Out of memory; check if mysqld or some other process uses all available
209 memory; if not, you may have to use 'ulimit' to allow mysqld to use more
210 memory or you can add more swap space
211 """
212
214
215 """Can't get hostname for your address"""
216
218
219 """Bad handshake"""
220
222
223 """Access denied for user '%s'@'%s' to database '%s'"""
224
226
227 """Access denied for user '%s'@'%s' (using password: %s)"""
228
230
231 """No database selected"""
232
234
235 """Unknown command"""
236
238
239 """Column '%s' cannot be null"""
240
242
243 """Unknown database '%s'"""
244
246
247 """Table '%s' already exists"""
248
250
251 """Unknown table '%s'"""
252
254
255 """Column '%s' in %s is ambiguous"""
256
258
259 """Server shutdown in progress"""
260
262
263 """Unknown column '%s' in '%s'"""
264
266
267 """'%s' isn't in GROUP BY"""
268
270
271 """Can't group on '%s'"""
272
274
275 """Statement has sum functions and columns in same statement"""
276
278
279 """Column count doesn't match value count"""
280
282
283 """Identifier name '%s' is too long"""
284
286
287 """Duplicate column name '%s'"""
288
290
291 """Duplicate key name '%s'"""
292
293 -class Dup_Entry(MySQL_Error):
294
295 """Duplicate entry '%s' for key %d"""
296
298
299 """Incorrect column specifier for column '%s'"""
300
302
303 """%s near '%s' at line %d"""
304
306
307 """Query was empty"""
308
310
311 """Not unique table/alias: '%s'"""
312
314
315 """Invalid default value for '%s'"""
316
318
319 """Multiple primary key defined"""
320
322
323 """Too many keys specified; max %d keys allowed"""
324
326
327 """Too many key parts specified; max %d parts allowed"""
328
330
331 """Specified key was too long; max key length is %d bytes"""
332
334
335 """Key column '%s' doesn't exist in table"""
336
338
339 """BLOB column '%s' can't be used in key specification with the used table
340 type
341 """
342
344
345 """Column length too big for column '%s' (max = %d); use BLOB or TEXT
346 instead
347 """
348
350
351 """Incorrect table definition; there can be only one auto column and it
352 must be defined as a key
353 """
354
355 -class Ready(MySQL_Error):
356
357 """%s: ready for connections. Version: '%s' socket: '%s' port: %d"""
358
360
361 """%s: Normal shutdown"""
362
364
365 """%s: Got signal %d. Aborting!"""
366
368
369 """%s: Shutdown complete"""
370
372
373 """%s: Forcing close of thread %ld user: '%s'"""
374
376
377 """Can't create IP socket"""
378
380
381 """Table '%s' has no index like the one used in CREATE INDEX; recreate the
382 table
383 """
384
386
387 """Field separator argument is not what is expected; check the manual"""
388
390
391 """You can't use fixed rowlength with BLOBs; please use 'fields terminated
392 by'
393 """
394
395 -class Textfile_Not_Readable(MySQL_Error):
396
397 """The file '%s' must be in the database directory or be readable by all"""
398
400
401 """File '%s' already exists"""
402
404
405 """Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld"""
406
408
409 """Records: %ld Duplicates: %ld"""
410
412
413 """Incorrect sub part key; the used key part isn't a string, the used
414 length is longer than the key part, or the storage engine doesn't support
415 unique sub keys
416 """
417
419
420 """You can't delete all columns with ALTER TABLE; use DROP TABLE instead"""
421
423
424 """Can't DROP '%s'; check that column/key exists"""
425
427
428 """Records: %ld Duplicates: %ld Warnings: %ld"""
429
431
432 """You can't specify target table '%s' for update in FROM clause"""
433
435
436 """Unknown thread id: %lu"""
437
439
440 """You are not owner of thread %lu"""
441
443
444 """No tables used"""
445
447
448 """Too many strings for column %s and SET"""
449
451
452 """Can't generate a unique log-filename %s.(1-999)"""
453
455
456 """Table '%s' was locked with a READ lock and can't be updated"""
457
459
460 """Table '%s' was not locked with LOCK TABLES"""
461
463
464 """BLOB/TEXT column '%s' can't have a default value"""
465
467
468 """Incorrect database name '%s'"""
469
471
472 """Incorrect table name '%s'"""
473
475
476 """The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE
477 and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is
478 okay
479 """
480
482
483 """Unknown error"""
484
486
487 """Unknown procedure '%s'"""
488
490
491 """Incorrect parameter count to procedure '%s'"""
492
494
495 """Incorrect parameters to procedure '%s'"""
496
498
499 """Unknown table '%s' in %s"""
500
502
503 """Column '%s' specified twice"""
504
506
507 """Invalid use of group function"""
508
510
511 """Table '%s' uses an extension that doesn't exist in this MySQL version"""
512
514
515 """A table must have at least 1 column"""
516
518
519 """The table '%s' is full"""
520
522
523 """Unknown character set: '%s'"""
524
526
527 """Too many tables; MySQL can only use %d tables in a join"""
528
530
531 """Too many columns"""
532
534
535 """Row size too large. The maximum row size for the used table type, not
536 counting BLOBs, is %ld. You have to change some columns to TEXT or BLOBs
537 """
538
540
541 """Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld -O
542 thread_stack=#' to specify a bigger stack if needed
543 """
544
546
547 """Cross dependency found in OUTER JOIN; examine your ON conditions"""
548
550
551 """Column '%s' is used with UNIQUE or INDEX but is not defined as NOT
552 NULL
553 """
554
556
557 """Can't load function '%s'"""
558
560
561 """Can't initialize function '%s'; %s"""
562
564
565 """No paths allowed for shared library"""
566
568
569 """Function '%s' already exists"""
570
572
573 """Can't open shared library '%s' (errno: %d %s)"""
574
575 -class Cant_Find_Dl_Entry(MySQL_Error):
576
577 """Can't find function '%s' in library'"""
578
580
581 """Function '%s' is not defined"""
582
584
585 """Host '%s' is blocked because of many connection errors; unblock with
586 'mysqladmin flush-hosts'
587 """
588
590
591 """Host '%s' is not allowed to connect to this MySQL server"""
592
594
595 """You are using MySQL as an anonymous user and anonymous users are not
596 allowed to change passwords
597 """
598
600
601 """You must have privileges to update tables in the mysql database to be
602 able to change passwords for others
603 """
604
606
607 """Can't find any matching row in the user table"""
608
610
611 """Rows matched: %ld Changed: %ld Warnings: %ld"""
612
614
615 """Can't create a new thread (errno %d); if you are not out of available
616 memory, you can consult the manual for a possible OS-dependent bug
617 """
618
620
621 """Column count doesn't match value count at row %ld"""
622
624
625 """Can't reopen table: '%s'"""
626
628
629 """Invalid use of NULL value"""
630
632
633 """Got error '%s' from regexp"""
634
636
637 """Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns
638 is illegal if there is no GROUP BY clause
639 """
640
642
643 """There is no such grant defined for user '%s' on host '%s'"""
644
646
647 """%s command denied to user '%s'@'%s' for table '%s'"""
648
650
651 """%s command denied to user '%s'@'%s' for column '%s' in table '%s'"""
652
654
655 """Illegal GRANT/REVOKE command; please consult the manual to see which
656 privileges can be used
657 """
658
660
661 """The host or user argument to GRANT is too long"""
662
664
665 """Table '%s.%s' doesn't exist"""
666
668
669 """There is no such grant defined for user '%s' on host '%s' on table '%s'"""
670
672
673 """The used command is not allowed with this MySQL version"""
674
676
677 """You have an error in your SQL syntax; check the manual that corresponds
678 to your MySQL server version for the right syntax to use
679 """
680
682
683 """Delayed insert thread couldn't get requested lock for table %s"""
684
686
687 """Too many delayed threads in use"""
688
690
691 """Aborted connection %ld to db: '%s' user: '%s' (%s)"""
692
694
695 """Got a packet bigger than 'max_allowed_packet' bytes"""
696
698
699 """Got a read error from the connection pipe"""
700
702
703 """Got an error from fcntl()"""
704
706
707 """Got packets out of order"""
708
710
711 """Couldn't uncompress communication packet"""
712
714
715 """Got an error reading communication packets"""
716
718
719 """Got timeout reading communication packets"""
720
722
723 """Got an error writing communication packets"""
724
726
727 """Got timeout writing communication packets"""
728
730
731 """Result string is longer than 'max_allowed_packet' bytes"""
732
734
735 """The used table type doesn't support BLOB/TEXT columns"""
736
738
739 """The used table type doesn't support AUTO_INCREMENT columns"""
740
742
743 """INSERT DELAYED can't be used with table '%s' because it is locked with
744 LOCK TABLES
745 """
746
748
749 """Incorrect column name '%s'"""
750
752
753 """The used storage engine can't index column '%s'"""
754
756
757 """All tables in the MERGE table are not identically defined"""
758
760
761 """Can't write, because of unique constraint, to table '%s'"""
762
764
765 """BLOB/TEXT column '%s' used in key specification without a key length"""
766
768
769 """All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key,
770 use UNIQUE instead
771 """
772
774
775 """Result consisted of more than one row"""
776
778
779 """This table type requires a primary key"""
780
782
783 """This version of MySQL is not compiled with RAID support"""
784
786
787 """You are using safe update mode and you tried to update a table without a
788 WHERE that uses a KEY column
789 """
790
792
793 """Key '%s' doesn't exist in table '%s'"""
794
796
797 """Can't open table"""
798
800
801 """The storage engine for the table doesn't support %s"""
802
804
805 """You are not allowed to execute this command in a transaction"""
806
808
809 """Got error %d during COMMIT"""
810
812
813 """Got error %d during ROLLBACK"""
814
816
817 """Got error %d during FLUSH_LOGS"""
818
820
821 """Got error %d during CHECKPOINT"""
822
824
825 """Aborted connection %ld to db: '%s' user: '%s' host: '%s' (%s)"""
826
828
829 """The storage engine for the table does not support binary table dump"""
830
832
833 """Binlog closed, cannot RESET MASTER"""
834
836
837 """Failed rebuilding the index of dumped table '%s'"""
838
840
841 """Error from master: '%s'"""
842
844
845 """Net error reading from master"""
846
848
849 """Net error writing to master"""
850
852
853 """Can't find FULLTEXT index matching the column list"""
854
856
857 """Can't execute the given command because you have active locked tables or
858 an active transaction
859 """
860
862
863 """Unknown system variable '%s'"""
864
866
867 """Table '%s' is marked as crashed and should be repaired"""
868
870
871 """Table '%s' is marked as crashed and last (automatic?) repair failed"""
872
874
875 """Some non-transactional changed tables couldn't be rolled back"""
876
878
879 """Multi-statement transaction required more than 'max_binlog_cache_size'
880 bytes of storage; increase this mysqld variable and try again
881 """
882
884
885 """This operation cannot be performed with a running slave; run STOP SLAVE
886 first
887 """
888
890
891 """This operation requires a running slave; configure slave and do START
892 SLAVE
893 """
894
896
897 """The server is not configured as slave; fix in config file or with CHANGE
898 MASTER TO
899 """
900
902
903 """Could not initialize master info structure; more error messages can be
904 found in the MySQL error log
905 """
906
908
909 """Could not create slave thread; check system resources"""
910
912
913 """User %s already has more than 'max_user_connections' active
914 connections
915 """
916
918
919 """You may only use constant expressions with SET"""
920
922
923 """Lock wait timeout exceeded; try restarting transaction"""
924
926
927 """The total number of locks exceeds the lock table size"""
928
930
931 """Update locks cannot be acquired during a READ UNCOMMITTED transaction"""
932
934
935 """DROP DATABASE not allowed while thread is holding global read lock"""
936
938
939 """CREATE DATABASE not allowed while thread is holding global read lock"""
940
942
943 """Incorrect arguments to %s"""
944
946
947 """'%s'@'%s' is not allowed to create new users"""
948
950
951 """Incorrect table definition; all MERGE tables must be in the same
952 database
953 """
954
956
957 """Deadlock found when trying to get lock; try restarting transaction"""
958
960
961 """The used table type doesn't support FULLTEXT indexes"""
962
964
965 """Cannot add foreign key constraint"""
966
968
969 """Cannot add or update a child row: a foreign key constraint fails"""
970
972
973 """Cannot delete or update a parent row: a foreign key constraint fails"""
974
976
977 """Error connecting to master: %s"""
978
980
981 """Error running query on master: %s"""
982
984
985 """Error when executing command %s: %s"""
986
988
989 """Incorrect usage of %s and %s"""
990
992
993 """The used SELECT statements have a different number of columns"""
994
996
997 """Can't execute the query because you have a conflicting read lock"""
998
1000
1001 """Mixing of transactional and non-transactional tables is disabled"""
1002
1004
1005 """Option '%s' used twice in statement"""
1006
1008
1009 """User '%s' has exceeded the '%s' resource (current value: %ld)"""
1010
1012
1013 """Access denied; you need the %s privilege for this operation"""
1014
1016
1017 """Variable '%s' is a SESSION variable and can't be used with SET GLOBAL"""
1018
1020
1021 """Variable '%s' is a GLOBAL variable and should be set with SET GLOBAL"""
1022
1024
1025 """Variable '%s' doesn't have a default value"""
1026
1028
1029 """Variable '%s' can't be set to the value of '%s'"""
1030
1032
1033 """Incorrect argument type to variable '%s'"""
1034
1036
1037 """Variable '%s' can only be set, not read"""
1038
1040
1041 """Incorrect usage/placement of '%s'"""
1042
1044
1045 """This version of MySQL doesn't yet support '%s'"""
1046
1048
1049 """Got fatal error %d: '%s' from master when reading data from binary
1050 log
1051 """
1052
1054
1055 """Slave SQL thread ignored the query because of replicate-\\*-table rules"""
1056
1058
1059 """Variable '%s' is a %s variable"""
1060
1062
1063 """Incorrect foreign key definition for '%s': %s"""
1064
1066
1067 """Key reference and table reference don't match"""
1068
1070
1071 """Operand should contain %d column(s)"""
1072
1074
1075 """Subquery returns more than 1 row"""
1076
1078
1079 """Unknown prepared statement handler (%.*s) given to %s"""
1080
1082
1083 """Help database is corrupt or does not exist"""
1084
1086
1087 """Cyclic reference on subqueries"""
1088
1090
1091 """Converting column '%s' from %s to %s"""
1092
1094
1095 """Reference '%s' not supported (%s)"""
1096
1098
1099 """Every derived table must have its own alias"""
1100
1102
1103 """Select %u was reduced during optimization"""
1104
1106
1107 """Table '%s' from one of the SELECTs cannot be used in %s"""
1108
1110
1111 """Client does not support authentication protocol requested by server;
1112 consider upgrading MySQL client
1113 """
1114
1116
1117 """All parts of a SPATIAL index must be NOT NULL"""
1118
1120
1121 """COLLATION '%s' is not valid for CHARACTER SET '%s'"""
1122
1124
1125 """Slave is already running"""
1126
1128
1129 """Slave already has been stopped"""
1130
1132
1133 """Uncompressed data size too large; the maximum size is %d (probably,
1134 length of uncompressed data was corrupted)
1135 """
1136
1138
1139 """ZLIB: Not enough memory"""
1140
1142
1143 """ZLIB: Not enough room in the output buffer (probably, length of
1144 uncompressed data was corrupted)
1145 """
1146
1148
1149 """ZLIB: Input data corrupted"""
1150
1152
1153 """%d line(s) were cut by GROUP_CONCAT()"""
1154
1156
1157 """Row %ld doesn't contain data for all columns"""
1158
1160
1161 """Row %ld was truncated; it contained more data than there were input
1162 columns
1163 """
1164
1166
1167 """Column set to default value; NULL supplied to NOT NULL column '%s' at
1168 row %ld
1169 """
1170
1172
1173 """Out of range value adjusted for column '%s' at row %ld"""
1174
1176
1177 """Data truncated for column '%s' at row %ld"""
1178
1180
1181 """Using storage engine %s for table '%s'"""
1182
1184
1185 """Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'"""
1186
1188
1189 """Cannot drop one or more of the requested users"""
1190
1192
1193 """Can't revoke all privileges, grant for one or more of the requested
1194 users
1195 """
1196
1198
1199 """Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation
1200 '%s'
1201 """
1202
1204
1205 """Illegal mix of collations for operation '%s'"""
1206
1208
1209 """Variable '%s' is not a variable component (can't be used as
1210 XXXX.variable_name)
1211 """
1212
1214
1215 """Unknown collation: '%s'"""
1216
1218
1219 """SSL parameters in CHANGE MASTER are ignored because this MySQL slave was
1220 compiled without SSL support; they can be used later if MySQL slave with
1221 SSL is started
1222 """
1223
1225
1226 """Server is running in --secure-auth mode, but '%s'@'%s' has a password in
1227 the old format; please change the password to the new format
1228 """
1229
1231
1232 """Field or reference '%s%s%s%s%s' of SELECT #%d was resolved in SELECT #%d"""
1233
1235
1236 """Incorrect parameter or combination of parameters for START SLAVE UNTIL"""
1237
1239
1240 """It is recommended to use --skip-slave-start when doing step-by-step
1241 replication with START SLAVE UNTIL; otherwise, you will get problems if you
1242 get an unexpected slave's mysqld restart
1243 """
1244
1246
1247 """SQL thread is not to be started so UNTIL options are ignored"""
1248
1250
1251 """Incorrect index name '%s'"""
1252
1254
1255 """Incorrect catalog name '%s'"""
1256
1258
1259 """Query cache failed to set size %lu; new query cache size is %lu"""
1260
1262
1263 """Column '%s' cannot be part of FULLTEXT index"""
1264
1266
1267 """Unknown key cache '%s'"""
1268
1270
1271 """MySQL is started in --skip-name-resolve mode; you must restart it
1272 without this switch for this grant to work
1273 """
1274
1276
1277 """Unknown table engine '%s'"""
1278
1280
1281 """'%s' is deprecated; use '%s' instead"""
1282
1284
1285 """The target table %s of the %s is not updatable"""
1286
1288
1289 """The '%s' feature is disabled; you need MySQL built with '%s' to have it
1290 working
1291 """
1292
1294
1295 """The MySQL server is running with the %s option so it cannot execute this
1296 statement
1297 """
1298
1300
1301 """Column '%s' has duplicated value '%s' in %s"""
1302
1304
1305 """Truncated incorrect %s value: '%s'"""
1306
1308
1309 """Incorrect table definition; there can be only one TIMESTAMP column with
1310 CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
1311 """
1312
1314
1315 """Invalid ON UPDATE clause for '%s' column"""
1316
1318
1319 """This command is not supported in the prepared statement protocol yet"""
1320
1322
1323 """Got error %d '%s' from %s"""
1324
1326
1327 """Got temporary error %d '%s' from %s"""
1328
1330
1331 """Unknown or incorrect time zone: '%s'"""
1332
1334
1335 """Invalid TIMESTAMP value in column '%s' at row %ld"""
1336
1338
1339 """Invalid %s character string: '%s'"""
1340
1342
1343 """Result of %s() was larger than max_allowed_packet (%ld) - truncated"""
1344
1346
1347 """Conflicting declarations: '%s%s' and '%s%s'"""
1348
1350
1351 """Can't create a %s from within another stored routine"""
1352
1354
1355 """%s %s already exists"""
1356
1358
1359 """%s %s does not exist"""
1360
1362
1363 """Failed to DROP %s %s"""
1364
1366
1367 """Failed to CREATE %s %s"""
1368
1370
1371 """%s with no matching label: %s"""
1372
1374
1375 """Redefining label %s"""
1376
1378
1379 """End-label %s without match"""
1380
1382
1383 """Referring to uninitialized variable %s"""
1384
1386
1387 """PROCEDURE %s can't return a result set in the given context"""
1388
1390
1391 """RETURN is only allowed in a FUNCTION"""
1392
1394
1395 """%s is not allowed in stored procedures"""
1396
1398
1399 """The update log is deprecated and replaced by the binary log; SET
1400 SQL_LOG_UPDATE has been ignored
1401 """
1402
1404
1405 """The update log is deprecated and replaced by the binary log; SET
1406 SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN
1407 """
1408
1410
1411 """Query execution was interrupted"""
1412
1414
1415 """Incorrect number of arguments for %s %s; expected %u, got %u"""
1416
1418
1419 """Undefined CONDITION: %s"""
1420
1422
1423 """No RETURN found in FUNCTION %s"""
1424
1426
1427 """FUNCTION %s ended without RETURN"""
1428
1430
1431 """Cursor statement must be a SELECT"""
1432
1434
1435 """Cursor SELECT must not have INTO"""
1436
1438
1439 """Undefined CURSOR: %s"""
1440
1442
1443 """Cursor is already open"""
1444
1446
1447 """Cursor is not open"""
1448
1450
1451 """Undeclared variable: %s"""
1452
1454
1455 """Incorrect number of FETCH variables"""
1456
1458
1459 """No data to FETCH"""
1460
1462
1463 """Duplicate parameter: %s"""
1464
1466
1467 """Duplicate variable: %s"""
1468
1470
1471 """Duplicate condition: %s"""
1472
1474
1475 """Duplicate cursor: %s"""
1476
1478
1479 """Failed to ALTER %s %s"""
1480
1482
1483 """Subselect value not supported"""
1484
1486
1487 """%s is not allowed in stored function or trigger"""
1488
1490
1491 """Variable or condition declaration after cursor or handler declaration"""
1492
1494
1495 """Cursor declaration after handler declaration"""
1496
1498
1499 """Case not found for CASE statement"""
1500
1502
1503 """Configuration file '%s' is too big"""
1504
1506
1507 """Malformed file type header in file '%s'"""
1508
1510
1511 """Unexpected end of file while parsing comment '%s'"""
1512
1514
1515 """Error while parsing parameter '%s' (line: '%s')"""
1516
1518
1519 """Unexpected end of file while skipping unknown parameter '%s'"""
1520
1522
1523 """EXPLAIN/SHOW can not be issued; lacking privileges for underlying
1524 table
1525 """
1526
1528
1529 """File '%s' has unknown type '%s' in its header"""
1530
1532
1533 """'%s.%s' is not %s"""
1534
1536
1537 """Column '%s' is not updatable"""
1538
1540
1541 """View's SELECT contains a subquery in the FROM clause"""
1542
1544
1545 """View's SELECT contains a '%s' clause"""
1546
1548
1549 """View's SELECT contains a variable or parameter"""
1550
1552
1553 """View's SELECT refers to a temporary table '%s'"""
1554
1556
1557 """View's SELECT and view's field list have different column counts"""
1558
1560
1561 """View merge algorithm can't be used here for now (assumed undefined
1562 algorithm)
1563 """
1564
1566
1567 """View being updated does not have complete key of underlying table in
1568 it
1569 """
1570
1572
1573 """View '%s.%s' references invalid table(s) or column(s) or function(s) or
1574 definer/invoker of view lack rights to use them
1575 """
1576
1578
1579 """Can't drop or alter a %s from within another stored routine"""
1580
1582
1583 """GOTO is not allowed in a stored procedure handler"""
1584
1586
1587 """Trigger already exists"""
1588
1590
1591 """Trigger does not exist"""
1592
1594
1595 """Trigger's '%s' is view or temporary table"""
1596
1598
1599 """Updating of %s row is not allowed in %strigger"""
1600
1602
1603 """There is no %s row in %s trigger"""
1604
1606
1607 """Field '%s' doesn't have a default value"""
1608
1610
1611 """Division by 0"""
1612
1614
1615 """Incorrect %s value: '%s' for column '%s' at row %ld"""
1616
1618
1619 """Illegal %s '%s' value found during parsing"""
1620
1622
1623 """CHECK OPTION on non-updatable view '%s.%s'"""
1624
1626
1627 """CHECK OPTION failed '%s.%s'"""
1628
1630
1631 """%s command denied to user '%s'@'%s' for routine '%s'"""
1632
1634
1635 """Failed purging old relay logs: %s"""
1636
1638
1639 """Password hash should be a %d-digit hexadecimal number"""
1640
1642
1643 """Target log not found in binlog index"""
1644
1646
1647 """I/O error reading log index file"""
1648
1650
1651 """Server configuration does not permit binlog purge"""
1652
1654
1655 """Failed on fseek()"""
1656
1658
1659 """Fatal error during log purge"""
1660
1662
1663 """A purgeable log is in use, will not purge"""
1664
1666
1667 """Unknown error during log purge"""
1668
1670
1671 """Failed initializing relay log position: %s"""
1672
1674
1675 """You are not using binary logging"""
1676
1678
1679 """The '%s' syntax is reserved for purposes internal to the MySQL server"""
1680
1682
1683 """WSAStartup Failed"""
1684
1686
1687 """Can't handle procedures with differents groups yet"""
1688
1690
1691 """Select must have a group with this procedure"""
1692
1694
1695 """Can't use ORDER clause with this procedure"""
1696
1698
1699 """Binary logging and replication forbid changing the global server %s"""
1700
1702
1703 """Can't map file: %s, errno: %d"""
1704
1706
1707 """Wrong magic in %s"""
1708
1710
1711 """Prepared statement contains too many placeholders"""
1712
1714
1715 """Key part '%s' length cannot be 0"""
1716
1718
1719 """View text checksum failed"""
1720
1722
1723 """Can not modify more than one base table through a join view '%s.%s'"""
1724
1726
1727 """Can not insert into join view '%s.%s' without fields list"""
1728
1730
1731 """Can not delete from join view '%s.%s'"""
1732
1734
1735 """Operation %s failed for %s"""
1736
1738
1739 """XAER_NOTA: Unknown XID"""
1740
1742
1743 """XAER_INVAL: Invalid arguments (or unsupported command)"""
1744
1746
1747 """XAER_RMFAIL: The command cannot be executed when global transaction is
1748 in the %s state
1749 """
1750
1752
1753 """XAER_OUTSIDE: Some work is done outside global transaction"""
1754
1756
1757 """XAER_RMERR: Fatal error occurred in the transaction branch - check your
1758 data for consistency
1759 """
1760
1762
1763 """XA_RBROLLBACK: Transaction branch was rolled back"""
1764
1766
1767 """There is no such grant defined for user '%s' on host '%s' on routine
1768 '%s'
1769 """
1770
1772
1773 """Failed to grant EXECUTE and ALTER ROUTINE privileges"""
1774
1776
1777 """Failed to revoke all privileges to dropped routine"""
1778
1780
1781 """Data too long for column '%s' at row %ld"""
1782
1784
1785 """Bad SQLSTATE: '%s'"""
1786
1788
1789 """%s: ready for connections. Version: '%s' socket: '%s' port: %d %s"""
1790
1792
1793 """Can't load value from file with fixed size rows to variable"""
1794
1796
1797 """You are not allowed to create a user with GRANT"""
1798
1800
1801 """Incorrect %s value: '%s' for function %s"""
1802
1804
1805 """Table definition has changed, please retry transaction"""
1806
1808
1809 """Duplicate handler declared in the same block"""
1810
1812
1813 """OUT or INOUT argument %d for routine %s is not a variable"""
1814
1816
1817 """Not allowed to return a result set from a %s"""
1818
1820
1821 """Cannot get geometry object from data you send to the GEOMETRY field"""
1822
1824
1825 """A routine failed and has neither NO SQL nor READS SQL DATA in its
1826 declaration and binary logging is enabled; if non-transactional tables were
1827 updated, the binary log will miss their changes
1828 """
1829
1831
1832 """This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in
1833 its declaration and binary logging is enabled (you *might* want to use the
1834 less safe log_bin_trust_function_creators variable)
1835 """
1836
1838
1839 """You do not have the SUPER privilege and binary logging is enabled (you
1840 *might* want to use the less safe log_bin_trust_function_creators
1841 variable)
1842 """
1843
1845
1846 """You can't execute a prepared statement which has an open cursor
1847 associated with it. Reset the statement to re-execute it.
1848 """
1849
1851
1852 """The statement (%lu) has no open cursor."""
1853
1855
1856 """Explicit or implicit commit is not allowed in stored function or
1857 trigger.
1858 """
1859
1861
1862 """Field of view '%s.%s' underlying table doesn't have a default value"""
1863
1865
1866 """Recursive stored routines are not allowed."""
1867
1869
1870 """Too big scale %d specified for column '%s'. Maximum is %d."""
1871
1873
1874 """Too big precision %d specified for column '%s'. Maximum is %d."""
1875
1877
1878 """For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column
1879 '%s').
1880 """
1881
1883
1884 """You can't combine write-locking of system '%s.%s' table with other
1885 tables
1886 """
1887
1889
1890 """Unable to connect to foreign data source - database '%s'!"""
1891
1893
1894 """There was a problem processing the query on the foreign data source.
1895 Data source error: '%s'
1896 """
1897
1899
1900 """The foreign data source you are trying to reference does not exist. Data
1901 source error : '%s'
1902 """
1903
1905
1906 """Can't create federated table. The data source connection string '%s' is
1907 not in the correct format
1908 """
1909
1911
1912 """The data source connection string '%s' is not in the correct format"""
1913
1915
1916 """Can't create federated table. Foreign data src error : '%s'"""
1917
1919
1920 """Trigger in wrong schema"""
1921
1923
1924 """Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes
1925 needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.
1926 """
1927
1928 -class Too_Long_Body(MySQL_Error):
1929
1930 """Routine body for '%s' is too long"""
1931
1933
1934 """Cannot drop default keycache"""
1935
1937
1938 """Display width out of range for column '%s' (max = %d)"""
1939
1941
1942 """XAER_DUPID: The XID already exists"""
1943
1945
1946 """Datetime function: %s field overflow"""
1947
1949
1950 """Can't update table '%s' in stored function/trigger because it is already
1951 used by statement which invoked this stored function/trigger.
1952 """
1953
1955
1956 """The definition of table '%s' prevents operation %s on table '%s'."""
1957
1959
1960 """The prepared statement contains a stored routine call that refers to
1961 that same statement. It's not allowed to execute a prepared statement in
1962 such a recursive manner
1963 """
1964
1966
1967 """Not allowed to set autocommit from a stored function or trigger"""
1968
1970
1971 """Definer is not fully qualified"""
1972
1974
1975 """View definer is not fully qualified
1976
1977 (No longer available as of 5.0.17.)
1978 """
1979
1981
1982 """View %s.%s has not definer information (old table format). Current user
1983 is used as definer. Please recreate view!
1984 """
1985
1987
1988 """You need the SUPER privilege for creation view with %s@%s definer"""
1989
1991
1992 """There is no '%s'@'%s' registered"""
1993
1995
1996 """Changing schema from '%s' to '%s' is not allowed."""
1997
1999
2000 """Cannot delete or update a parent row: a foreign key constraint fails
2001 (%s)
2002 """
2003
2005
2006 """Cannot add or update a child row: a foreign key constraint fails (%s)"""
2007
2009
2010 """Variable '%s' must be quoted with ``...``, or renamed"""
2011
2013
2014 """No definer attribute for trigger '%s'.'%s'. The trigger will be
2015 activated under the authorization of the invoker, which may have
2016 insufficient privileges. Please recreate the trigger.
2017 """
2018
2019
2020
2021
2022
2024
2025 """Recursive limit %d (as set by the max_sp_recursion_depth variable) was
2026 exceeded for routine %.64s
2027
2028 (New in 5.0.17.)
2029 """
2030
2032
2033 """Definer is not fully qualified
2034
2035 (New in 5.0.17.)
2036 """
2037
2039
2040 """'%-.64s' has an old format, you should re-create the '%s' object(s).
2041 (New in 5.0.17.)
2042 """
2043
2045
2046 """No definer attribute for trigger '%-.64s'.'%-.64s'. The trigger will be
2047 activated under the auth orization of the invoker, which may have
2048 insufficient privileges. Please recreate the trigger.
2049
2050 (New in 5.0.17.)
2051 """
2053
2054 """Failed to load routine %s. The table mysql.proc is missing, corrupt, or
2055 contains bad data (internal code %d)
2056
2057 (New in 5.0.17.)
2058 """
2059
2060
2061
2062
2063
2065
2066 """Table upgrade required. Please do "REPAIR TABLE ``%-.32s``" to fix it!
2067
2068 (New in 5.0.19.)
2069 """
2070
2072
2073 """AGGREGATE is not supported for stored functions
2074
2075 (New in 5.0.19.)
2076 """
2077
2079
2080 """Incorrect routine name '%-.64s'
2081
2082 (New in 5.0.19.)
2083 """
2084
2085
2086
2087
2088
2090
2091 """Can't create more than max_prepared_stmt_count statements (current
2092 value: %lu)
2093
2094 (New in 5.0.21.)
2095 """
2096
2098
2099 """``%-.64s``.``%-.64s`` contains view recursion.
2100
2101 (New in 5.0.21.)
2102 """
2103
2104
2105
2106
2107
2109
2110 """non-grouping field '%-.64s' is used in %-.64s clause
2111
2112 (New in 5.0.23.)
2113 """
2114
2116
2117 """The used table type doesn't support SPATIAL indexes
2118
2119 (New in 5.0.23.)
2120 """
2121
2123
2124 """Triggers can not be created on system tables
2125
2126 (New in 5.0.23.)
2127 """
2128
2129
2130
2131
2132
2134
2135 """user name?
2136
2137 (New in 5.0.24a.)
2138 """
2139
2141
2142 """host name?
2143
2144 (New in 5.0.24a.)
2145 """
2146
2148
2149 """String '%-.70s' is too long for %s (should be no longer than %d)
2150
2151 (New in 5.0.24a.)
2152 """
2153
2154
2155
2156
2157
2159
2160 """Leading spaces are removed from name '%s'
2161
2162 (New in 5.0.25.)
2163 """
2164
2166
2167 """Failed to read auto-increment value from storage engine
2168
2169 (New in 5.0.25.)
2170 """
2171
2173
2174 """The target table %-.100s of the %s is not insertable-into
2175
2176 (New in 5.0.25.)
2177 """
2178