2
3
4
6 perror - explain error codes
7
9 perror [options] errorcode ...
10
12 For most system errors, MySQL displays, in addition to an internal text
13 message, the system error code in one of the following styles:
14
15 message ... (errno: #)
16 message ... (Errcode: #)
17
18 You can find out what the error code means by examining the
19 documentation for your system or by using the perror utility.
20
21 perror prints a description for a system error code or for a storage
22 engine (table handler) error code.
23
24 Invoke perror like this:
25
26 shell> perror [options] errorcode ...
27
28 Example:
29
30 shell> perror 13 64
31 OS error code 13: Permission denied
32 OS error code 64: Machine is not on the network
33
34 To obtain the error message for a MySQL Cluster error code, invoke
35 perror with the --ndb option:
36
37 shell> perror --ndb errorcode
38
39 Note that the meaning of system error messages may be dependent on your
40 operating system. A given error code may mean different things on
41 different operating systems.
42
43 perror supports the following options:
44
45 · --help, --info, -I, -?
46
47 Display a help message and exit.
48
49 · --ndb
50
51 Print the error message for a MySQL Cluster error code.
52
53 · --silent, -s
54
55 Silent mode. Print only the error message.
56
57 · --verbose, -v
58
59 Verbose mode. Print error code and message. This is the default
60 behavior.
61
62 · --version, -V
63
64 Display version information and exit.
65
67 Copyright 1997-2007 MySQL AB
68
69 This documentation is NOT distributed under a GPL license. Use of this
70 documentation is subject to the following terms: You may create a
71 printed copy of this documentation solely for your own personal use.
72 Conversion to other formats is allowed as long as the actual content is
73 not altered or edited in any way. You shall not publish or distribute
74 this documentation in any form or on any media, except if you
75 distribute the documentation in a manner similar to how MySQL
76 disseminates it (that is, electronically for download on a Web site
77 with the software) or on a CD-ROM or similar medium, provided however
78 that the documentation is disseminated together with the software on
79 the same medium. Any other use, such as any dissemination of printed
80 copies or use of this documentation, in whole or in part, in another
81 publication, requires the prior written consent from an authorized
82 representative of MySQL AB. MySQL AB reserves any and all rights to
83 this documentation not expressly granted above.
84
85 Please email <docs@mysql.com> for more information.
86
88 For more information, please refer to the MySQL Reference Manual, which
89 may already be installed locally and which is also available online at
90 http://dev.mysql.com/doc/.
91
93 MySQL AB (http://www.mysql.com/). This software comes with no
94 warranty.
95
96
97
98MySQL 5.0 07/04/2007 PERROR(1)