Linux "comp_err" Command Line Options and Examples
compile MySQL error message file

comp_err creates the errmsg.sys file that is used by mysqld to determine the error messages to display for different error codes. comp_err normally is run automatically when MySQL is built.


Usage:

comp_err [options]




Command Line Options:

--help
Display a help message and exit.
comp_err --help ...
--charset
The character set directory. The default is ../sql/share/charsets.
comp_err --charset ...
--debug
Write a debugging log. A typical debug_options string is d:t:O,file_name. The default is d:t:O,/tmp/comp_err.trace.
comp_err --debug ...
--debug-info
Print some debugging information when the program exits.
comp_err --debug-info ...
--header_file
The name of the error header file. The default is mysqld_error.h.
comp_err --header_file ...
--in_file
The name of the input file. The default is ../sql/share/errmsg-utf8.txt.
comp_err --in_file ...
--name_file
The name of the error name file. The default is mysqld_ername.h.
comp_err --name_file ...
--out_dir
The name of the output base directory. The default is ../sql/share/.
comp_err --out_dir ...
--out_file
The name of the output file. The default is errmsg.sys.
comp_err --out_file ...
--statefile
The name for the SQLSTATE header file. The default is sql_state.h.
comp_err --statefile ...
--version
Display version information and exit.COPYRIGHTCopyright © 1997, 2019, Oracle and/or its affiliates. All rights reserved.This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public Licenseas published by the Free Software Foundation; version 2 of the License.This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with the program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.NOTES1. MySQL Internals Manualhttps://dev.mysql.com/doc/internals/en
comp_err --version ...