[asterisk-bugs] [Asterisk 0010932]: Added MySQL error message to connection errors

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Oct 10 08:30:55 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10932 
====================================================================== 
Reported By:                eserra
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10932
Category:                   Addons/app_addon_sql_mysql
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 463 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-10-2007 06:34 CDT
Last Modified:              10-10-2007 08:30 CDT
====================================================================== 
Summary:                    Added MySQL error message to connection errors
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
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-10-07 08:30  
---------------------------------------------------------------------- 
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 http://bugs.digium.com/view.php?id=10932)
Reported by: eserra
Patches:
      mysql_real_connect_error.patch uploaded by eserra (license 45)

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-10-07 08:30  svnbot         Checkin                                      
10-10-07 08:30  svnbot         Note Added: 0071760                          
10-10-07 08:30  svnbot         Status                   new => assigned     
10-10-07 08:30  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list