~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy

« back to all changes in this revision

Viewing changes to man/comp_err.1

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-03 09:43:01 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070403094301-fnjhfr59hu72pvtg
Tags: 5.0.38-0ubuntu1
* Package the Enterprise version again (.37 was a community version), since
  Debian and we have always done so. This brings in a few more bug fixes and
  makes functional derivations less likely.
* debian/README.Maintainer: Add pointer to upstream download URL, since it
  is very hard to find the Enterprise versions.
* Disable 33_scripts__mysql_create_system_tables__no_test.dpatch, since that
  script was removed upstream.
* debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch: Adapted to
  changed formatting in new upstream version.
* Remove debian/patches/86_PATH_MAX.dpatch, fixed upstream.
* Add debian/patches/90_org_tables_definition.dpatch: Fix local variable
  declaration in libmysqld/sql_parse.cc to fix compilation with
  EMBEDDED_LIBRARY.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"     Title: \fBcomp_err\fR
 
2
.\"    Author: 
 
3
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
 
4
.\"      Date: 03/20/2007
 
5
.\"    Manual: MySQL Database System
 
6
.\"    Source: MySQL 5.0
 
7
.\"
 
8
.TH "\fBCOMP_ERR\fR" "1" "03/20/2007" "MySQL 5.0" "MySQL Database System"
 
9
.\" disable hyphenation
 
10
.nh
 
11
.\" disable justification (adjust text to left margin only)
 
12
.ad l
 
13
.SH "NAME"
 
14
comp_err \- compile MySQL error message file
 
15
.SH "SYNOPSIS"
 
16
.HP 19
 
17
\fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
 
18
.SH "DESCRIPTION"
 
19
.PP
 
20
\fBcomp_err\fR
 
21
creates the
 
22
\fIerrmsg.sys\fR
 
23
file that is used by
 
24
\fBmysqld\fR
 
25
to determine the error messages to display for different error codes.
 
26
\fBcomp_err\fR
 
27
normally is run automatically when MySQL is built. It compiles the
 
28
\fIerrmsg.sys\fR
 
29
file from the plaintext file located at
 
30
\fIsql/share/errmsg.txt\fR
 
31
in MySQL source distributions.
 
32
.PP
 
33
\fBcomp_err\fR
 
34
also generates
 
35
\fImysqld_error.h\fR,
 
36
\fImysqld_ername.h\fR, and
 
37
\fIsql_state.h\fR
 
38
header files.
 
39
.PP
 
40
For more information about how error messages are defined, see the MySQL Internals Manual.
 
41
.PP
 
42
Invoke
 
43
\fBcomp_err\fR
 
44
like this:
 
45
.sp
 
46
.RS 3n
 
47
.nf
 
48
shell> \fBcomp_err [\fR\fB\fIoptions\fR\fR\fB]\fR
 
49
.fi
 
50
.RE
 
51
.PP
 
52
\fBcomp_err\fR
 
53
understands the options described in the following list.
 
54
.TP 3n
 
55
\(bu
 
56
\fB\-\-help\fR,
 
57
\fB\-?\fR
 
58
.sp
 
59
Display a help message and exit.
 
60
.TP 3n
 
61
\(bu
 
62
\fB\-\-charset=\fR\fB\fIpath\fR\fR\fB, \-C \fR\fB\fIpath\fR\fR
 
63
.sp
 
64
The character set directory. The default is
 
65
\fI../sql/share/charsets\fR.
 
66
.TP 3n
 
67
\(bu
 
68
\fB\-\-debug=\fR\fB\fIdebug_options\fR\fR\fB, \-# \fR\fB\fIdebug_options\fR\fR
 
69
.sp
 
70
Write a debugging log. The
 
71
\fIdebug_options\fR
 
72
string often is
 
73
\'d:t:O,\fIfile_name\fR'. The default is
 
74
\'d:t:O,/tmp/comp_err.trace'.
 
75
.TP 3n
 
76
\(bu
 
77
\fB\-\-debug\-info\fR,
 
78
\fB\-T\fR
 
79
.sp
 
80
Print some debugging information when the program exits.
 
81
.TP 3n
 
82
\(bu
 
83
\fB\-\-header_file=\fR\fB\fIfile_name\fR\fR\fB, \-H \fR\fB\fIfile_name\fR\fR
 
84
.sp
 
85
The name of the error header file. The default is
 
86
\fImysqld_error.h\fR.
 
87
.TP 3n
 
88
\(bu
 
89
\fB\-\-in_file=\fR\fB\fIfile_name\fR\fR\fB, \-F \fR\fB\fIfile_name\fR\fR
 
90
.sp
 
91
The name of the input file. The default is
 
92
\fI../sql/share/errmsg.txt\fR.
 
93
.TP 3n
 
94
\(bu
 
95
\fB\-\-name_file=\fR\fB\fIfile_name\fR\fR\fB, \-N \fR\fB\fIfile_name\fR\fR
 
96
.sp
 
97
The name of the error name file. The default is
 
98
\fImysqld_ername.h\fR.
 
99
.TP 3n
 
100
\(bu
 
101
\fB\-\-out_dir=\fR\fB\fIpath\fR\fR\fB, \-D \fR\fB\fIpath\fR\fR
 
102
.sp
 
103
The name of the output base directory. The default is
 
104
\fI../sql/share/\fR.
 
105
.TP 3n
 
106
\(bu
 
107
\fB\-\-out_file=\fR\fB\fIfile_name\fR\fR\fB, \-O \fR\fB\fIfile_name\fR\fR
 
108
.sp
 
109
The name of the output file. The default is
 
110
\fIerrmsg.sys\fR.
 
111
.TP 3n
 
112
\(bu
 
113
\fB\-\-statefile=\fR\fB\fIfile_name\fR\fR\fB, \-S \fR\fB\fIfile_name\fR\fR
 
114
.sp
 
115
The name for the SQLSTATE header file. The default is
 
116
\fIsql_state.h\fR.
 
117
.TP 3n
 
118
\(bu
 
119
\fB\-\-version\fR,
 
120
\fB\-V\fR
 
121
.sp
 
122
Display version information and exit.
 
123
.SH "COPYRIGHT"
 
124
.PP
 
125
Copyright 1997\-2007 MySQL AB
 
126
.PP
 
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.
 
128
.PP
 
129
Please email
 
130
<docs@mysql.com>
 
131
for more information.
 
132
.SH "SEE ALSO"
 
133
innochecksum(1),
 
134
make_win_bin_dist(1),
 
135
msql2mysql(1),
 
136
my_print_defaults(1),
 
137
myisam_ftdump(1),
 
138
myisamchk(1),
 
139
myisamlog(1),
 
140
myisampack(1),
 
141
mysql(1),
 
142
mysql.server(1),
 
143
mysql_config(1),
 
144
mysql_convert_table_format(1),
 
145
mysql_create_system_tables(1),
 
146
mysql_explain_log(1),
 
147
mysql_fix_privilege_tables(1),
 
148
mysql_install_db(1),
 
149
mysql_setpermission(1),
 
150
mysql_tzinfo_to_sql(1),
 
151
mysql_upgrade(1),
 
152
mysql_zap(1),
 
153
mysqlaccess(1),
 
154
mysqladmin(1),
 
155
mysqlbinlog(1),
 
156
mysqlcheck(1),
 
157
mysqld(8),
 
158
mysqld_multi(1),
 
159
mysqld_safe(1),
 
160
mysqldump(1),
 
161
mysqlhotcopy(1),
 
162
mysqlimport(1),
 
163
mysqlmanager(8),
 
164
mysqlshow(1),
 
165
ndb_config(1),
 
166
ndb_cpcd(1),
 
167
ndb_delete_all(1),
 
168
ndb_desc(1),
 
169
ndb_drop_index(1),
 
170
ndb_drop_table(1),
 
171
ndb_error_reporter(1),
 
172
ndb_mgm(1),
 
173
ndb_mgmd(1),
 
174
ndb_print_backup_file(1),
 
175
ndb_print_schema_file(1),
 
176
ndb_print_sys_file(1),
 
177
ndb_restore(1),
 
178
ndb_select_all(1),
 
179
ndb_select_count(1),
 
180
ndb_show_tables(1),
 
181
ndb_size.pl(1),
 
182
ndb_waiter(1),
 
183
ndbd(1),
 
184
perror(1),
 
185
replace(1),
 
186
resolve_stack_dump(1),
 
187
resolveip(1),
 
188
safe_mysqld(1)
 
189
.P
 
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/.
 
193
.SH AUTHOR
 
194
MySQL AB (http://www.mysql.com/).
 
195
This software comes with no warranty.