[Home]

Summary:ASTERISK-10485: Added MySQL error message to connection errors
Reporter:Edoardo Serra - WeBRainstorm S.r.l. (webrainstorm)Labels:
Date Opened:2007-10-10 06:34:27Date Closed:2007-10-10 08:30:55
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/app_mysql
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) mysql_real_connect_error.patch
Description:While debugging some MySQL connection errors I created this one-line patch which display MySQL error message

It would also be useful in bug reports as in bug 10752
Comments:By: Digium Subversion (svnbot) 2007-10-10 08:30:55

Repository: asterisk-addons
Revision: 464

U   trunk/app_addon_sql_mysql.c

------------------------------------------------------------------------
r464 | file | 2007-10-10 08:30:54 -0500 (Wed, 10 Oct 2007) | 6 lines

Give the reason why mysql_real_connect failed to connect as part of the console log message.
(closes issue ASTERISK-10485)
Reported by: eserra
Patches:
     mysql_real_connect_error.patch uploaded by eserra (license 45)

------------------------------------------------------------------------