| 導購 | 订阅 | 在线投稿
分享
 
 
 

讲解查看MySQL数据库错误码的三个方法

2008-06-01 03:26:38  編輯來源:互聯網  简体版  手機版  評論  字體: ||
 
 
  查看MySQL数据库错误码(error code)的三个方法:

  ◆1. MySQL Reference Manual有Appendix B. Error Codes and Messages

  ◆2. 查看页面:http://dev.mysql.com/doc/refman/5.0/en/error-handling.html

  ◆3. MySQL的bin目录下提供了perror.exe工具,使用方法如下:

  # /usr/local/mysql/bin/perror 10

  Error code 10: No child processes

  # /usr/local/mysql/bin/perror 127

  Error code 127: Network is down

  127 = Record-file is crashed

  # /usr/local/mysql/bin/perror 134

  Error code 134: Transport endpoint is not connected

  134 = Record was already deleted (or record file crashed)
 
 
 
查看MySQL数据库错误码(error code)的三个方法: ◆1. MySQL Reference Manual有Appendix B. Error Codes and Messages ◆2. 查看页面:http://dev.mysql.com/doc/refman/5.0/en/error-handling.html ◆3. MySQL的bin目录下提供了perror.exe工具,使用方法如下: # /usr/local/mysql/bin/perror 10 Error code 10: No child processes # /usr/local/mysql/bin/perror 127 Error code 127: Network is down 127 = Record-file is crashed # /usr/local/mysql/bin/perror 134 Error code 134: Transport endpoint is not connected 134 = Record was already deleted (or record file crashed)
󰈣󰈤
 
 
 
>>返回首頁<<
 
 
 
 
 
 熱帖排行
 
 
王朝网络微信公众号
微信扫码关注本站公众号 wangchaonetcn
 
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味著赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有