解释MySQL异常代码

解释MySQL错误代码

  作者:zhanhailiang 日期:2013-03-08

MySQL专门为错误代码提供perror工具来查询错误代码的含义。

如下:

zhanhailiang@linux-06bq:/usr/local/services/mysql/bin> ./perror --help
./perror Ver 2.11, for linux2.6 (i686)
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
 
Print a description for a system error code or a MySQL error code.
If you want to get the error for a negative error code, you should use
-- before the first error code to tell perror that there was no more options.
 
Usage: ./perror [OPTIONS] [ERRORCODE [ERRORCODE...]]
  -?, 


                        
   
   
                    

免责声明: 本文仅代表作者个人观点,与无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。

相关资料

解释MySQL异常代码

相关文章:

你感兴趣的文章:

标签云: