Current Path : /compat/linux/proc/self/root/home/usr.opt/mysql57/man/man1/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/home/usr.opt/mysql57/man/man1/perror.1 |
'\" t .\" Title: perror .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> .\" Date: 11/29/2021 .\" Manual: MySQL Database System .\" Source: MySQL 5.7 .\" Language: English .\" .TH "PERROR" "1" "11/29/2021" "MySQL 5\&.7" "MySQL Database System" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" perror \- display MySQL error message information .SH "SYNOPSIS" .HP \w'\fBperror\ [\fR\fB\fIoptions\fR\fR\fB]\ \fR\fB\fIerrorcode\fR\fR\fB\ \&.\&.\&.\fR\ 'u \fBperror [\fR\fB\fIoptions\fR\fR\fB] \fR\fB\fIerrorcode\fR\fR\fB \&.\&.\&.\fR .SH "DESCRIPTION" .PP For most system errors, MySQL displays, in addition to an internal text message, the system error code in one of the following styles: .sp .if n \{\ .RS 4 .\} .nf message \&.\&.\&. (errno: #) message \&.\&.\&. (Errcode: #) .fi .if n \{\ .RE .\} .PP You can find out what the error code means by examining the documentation for your system or by using the \fBperror\fR utility\&. .PP \fBperror\fR prints a description for a system error code or for a storage engine (table handler) error code\&. .PP Invoke \fBperror\fR like this: .sp .if n \{\ .RS 4 .\} .nf perror [\fIoptions\fR] \fIerrorcode\fR \&.\&.\&. .fi .if n \{\ .RE .\} .PP Examples: .sp .if n \{\ .RS 4 .\} .nf $> \fBperror 1231\fR MySQL error code 1231 (ER_WRONG_VALUE_FOR_VAR): Variable \*(Aq%\-\&.64s\*(Aq can\*(Aqt be set to the value of \*(Aq%\-\&.200s\*(Aq .fi .if n \{\ .RE .\} .sp .if n \{\ .RS 4 .\} .nf $> \fBperror 13 64\fR OS error code 13: Permission denied OS error code 64: Machine is not on the network .fi .if n \{\ .RE .\} .PP To obtain the error message for a MySQL Cluster error code, use the \fBndb_perror\fR utility\&. .PP The meaning of system error messages may be dependent on your operating system\&. A given error code may mean different things on different operating systems\&. .PP \fBperror\fR supports the following options\&. .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB\-\-help\fR, \fB\-\-info\fR, \fB\-I\fR, \fB\-?\fR Display a help message and exit\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB\-\-ndb\fR Print the error message for an NDB Cluster error code\&. .sp This option is deprecated in NDB 7\&.6\&.4 and later, where \fBperror\fR prints a warning if it is used, and is removed in NDB Cluster 8\&.0\&. Use the \fBndb_perror\fR utility instead\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB\-\-silent\fR, \fB\-s\fR Silent mode\&. Print only the error message\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB\-\-verbose\fR, \fB\-v\fR Verbose mode\&. Print error code and message\&. This is the default behavior\&. .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} \fB\-\-version\fR, \fB\-V\fR Display version information and exit\&. .RE .SH "COPYRIGHT" .br .PP Copyright \(co 1997, 2021, Oracle and/or its affiliates. .PP This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. .PP This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. .sp .SH "SEE ALSO" For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. .SH AUTHOR Oracle Corporation (http://dev.mysql.com/).