4.4.1 comp_err — Compile MySQL Error Message File编译MySQL错误消息文件

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创建errmsg.sys文件,mysqld使用该文件来确定针对不同错误代码显示的错误消息。comp_err normally is run automatically when MySQL is built. comp_err通常在构建MySQL时自动运行。It compiles the errmsg.sys file from text-format error information in MySQL source distributions:它根据MySQL源发行版中的文本格式错误信息编译errmsg.sys文件:

comp_err also generates the mysqld_error.h, mysqld_ername.h, and mysqld_errmsg.h header files.comp_err还生成mysqld_error.hmysqld_ername.hmysqld_errmsg.h头文件。

Invoke comp_err like this:按如下方式调用comp_err

comp_err [options]

comp_err supports the following options.comp_err支持以下选项。