1PERROR(1)                    MySQL Database System                   PERROR(1)
2
3
4

NAME

6       perror - explain error codes
7

SYNOPSIS

9       perror [options] errorcode ...
10

DESCRIPTION

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 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
68
69       This documentation is free software; you can redistribute it and/or
70       modify it only under the terms of the GNU General Public License as
71       published by the Free Software Foundation; version 2 of the License.
72
73       This documentation is distributed in the hope that it will be useful,
74       but WITHOUT ANY WARRANTY; without even the implied warranty of
75       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
76       General Public License for more details.
77
78       You should have received a copy of the GNU General Public License along
79       with the program; if not, write to the Free Software Foundation, Inc.,
80       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
81       http://www.gnu.org/licenses/.
82
83

SEE ALSO

85       For more information, please refer to the MySQL Reference Manual, which
86       may already be installed locally and which is also available online at
87       http://dev.mysql.com/doc/.
88

AUTHOR

90       Sun Microsystems, Inc. (http://www.mysql.com/).
91
92
93
94MySQL 5.1                         04/06/2010                         PERROR(1)
Impressum