| COMP_ERR(1) | MySQL Database System | COMP_ERR(1) |
NAME
comp_err - compile MySQL error message file
SYNOPSIS
comp_err [options]
DESCRIPTION
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. It compiles the errmsg.sys file from text-format error information in MySQL source distributions:
For more information about defining error messages, see the comments within those files, along with the errmsg_readme.txt file.
comp_err also generates the mysqld_error.h, mysqld_ername.h, and mysqld_errmsg.h header files.
Invoke comp_err like this:
comp_err [options]
comp_err supports the following options.
This option was removed in MySQL 8.0.19 and replaced by the --in-file-errlog and --in-file-toclient options.
This option was added in MySQL 8.0.19.
This option was added in MySQL 8.0.19.
COPYRIGHT
Copyright © 1997, 2023, Oracle and/or its affiliates.
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.
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.
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/.
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/.
AUTHOR
Oracle Corporation (http://dev.mysql.com/).
| 08/31/2023 | MySQL 8.0 |