Bug #48348 add translation of error code to error message in error log
Submitted: 27 Oct 2009 12:56 Modified: 19 Dec 2011 0:33
Reporter: Lig Isler-Turmelle Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Errors Severity:S4 (Feature request)
Version:5.x OS:Any
Assigned to: Geir Høydalsvik CPU Architecture:Any

[27 Oct 2009 12:56] Lig Isler-Turmelle
Description:
Request the information located in perror to be added to the error messages in the error log if appropriate.  This will allow the user to have more information immediately for consideration, rather then forcing them to take the extra step of looking up what it means.

Example:
[ERROR] /usr/sbin/mysqld: File '/root/warmup.sql' not found (Errcode: 13)

Macintosh-6:~ me$ perror 13
OS error code 13: Permission denied

How to repeat:
na

Suggested fix:
Example:

[ERROR] /usr/sbin/mysqld: File '/root/bp_warmup.sql' > not found (Errcode: 13, Text: Permission denied)
[27 Oct 2009 16:54] Valeriy Kravchuk
Thank you for the feature request.
[19 Dec 2011 0:33] Paul DuBois
Noted in 5.6.5 changelog.

Error messages that referred only to an error code now also include 
the corresponding error description.