1
.\" Title: \fBcomp_err\fR
3
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
5
.\" Manual: MySQL Database System
8
.TH "\fBCOMP_ERR\fR" "1" "03/20/2007" "MySQL 5.0" "MySQL Database System"
9
.\" disable hyphenation
11
.\" disable justification (adjust text to left margin only)
14
comp_err \- compile MySQL error message file
17
\fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
25
to determine the error messages to display for different error codes.
27
normally is run automatically when MySQL is built. It compiles the
29
file from the plaintext file located at
30
\fIsql/share/errmsg.txt\fR
31
in MySQL source distributions.
36
\fImysqld_ername.h\fR, and
40
For more information about how error messages are defined, see the MySQL Internals Manual.
48
shell> \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
53
understands the options described in the following list.
59
Display a help message and exit.
62
\fB\-\-charset=\fR\fB\fIpath\fR\fR\fB, \-C \fR\fB\fIpath\fR\fR
64
The character set directory. The default is
65
\fI../sql/share/charsets\fR.
68
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR
70
Write a debugging log. The
73
\'d:t:O,\fIfile_name\fR'. The default is
74
\'d:t:O,/tmp/comp_err.trace'.
77
\fB\-\-debug\-info\fR,
80
Print some debugging information when the program exits.
83
\fB\-\-header_file=\fR\fB\fIfile_name\fR\fR\fB, \-H \fR\fB\fIfile_name\fR\fR
85
The name of the error header file. The default is
89
\fB\-\-in_file=\fR\fB\fIfile_name\fR\fR\fB, \-F \fR\fB\fIfile_name\fR\fR
91
The name of the input file. The default is
92
\fI../sql/share/errmsg.txt\fR.
95
\fB\-\-name_file=\fR\fB\fIfile_name\fR\fR\fB, \-N \fR\fB\fIfile_name\fR\fR
97
The name of the error name file. The default is
98
\fImysqld_ername.h\fR.
101
\fB\-\-out_dir=\fR\fB\fIpath\fR\fR\fB, \-D \fR\fB\fIpath\fR\fR
103
The name of the output base directory. The default is
107
\fB\-\-out_file=\fR\fB\fIfile_name\fR\fR\fB, \-O \fR\fB\fIfile_name\fR\fR
109
The name of the output file. The default is
113
\fB\-\-statefile=\fR\fB\fIfile_name\fR\fR\fB, \-S \fR\fB\fIfile_name\fR\fR
115
The name for the SQLSTATE header file. The default is
122
Display version information and exit.
125
Copyright 1997\-2007 MySQL AB
127
This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how MySQL disseminates it (that is, electronically for download on a Web site with the software) or on a CD\-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of MySQL AB. MySQL AB reserves any and all rights to this documentation not expressly granted above.
131
for more information.
134
make_win_bin_dist(1),
136
my_print_defaults(1),
144
mysql_convert_table_format(1),
145
mysql_create_system_tables(1),
146
mysql_explain_log(1),
147
mysql_fix_privilege_tables(1),
149
mysql_setpermission(1),
150
mysql_tzinfo_to_sql(1),
171
ndb_error_reporter(1),
174
ndb_print_backup_file(1),
175
ndb_print_schema_file(1),
176
ndb_print_sys_file(1),
186
resolve_stack_dump(1),
190
For more information, please refer to the MySQL Reference Manual,
191
which may already be installed locally and which is also available
192
online at http://dev.mysql.com/doc/.
194
MySQL AB (http://www.mysql.com/).
195
This software comes with no warranty.