[asterisk-bugs] [Asterisk 0019404]: [patch] Default mysql socket selection code makes module load to fail

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 3 05:29:28 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19404 
====================================================================== 
Reported By:                dmig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19404
Category:                   Addons/res_config_mysql
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 321674 
Request Review:              
====================================================================== 
Date Submitted:             2011-06-03 05:17 CDT
Last Modified:              2011-06-03 05:29 CDT
====================================================================== 
Summary:                    [patch] Default mysql socket selection code makes
module load to fail
Description: 
I use almost empty res_config_mysql.conf, just to make module use default
settings:

[general]
dbname = simplepbx
dbuser = asterisk
dbpass = asteriskpw
dbcharset = UTF8

But, when module loads, it spits 2 warnings:
MySQL RealTime: No database socket found, using
'/var/run/mysqld/mysqld.sock' as default.
MySQL RealTime: No database socket found (and unable to detect a suitable
path).

Module code shows, that there is one 'break' missing on line 1521.
====================================================================== 

---------------------------------------------------------------------- 
 (0135669) dmig (reporter) - 2011-06-03 05:29
 https://issues.asterisk.org/view.php?id=19404#c135669 
---------------------------------------------------------------------- 
Actually, summary should be: "Default mysql socket selection code makes
module config load to fail" 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-03 05:29 dmig           Note Added: 0135669                          
======================================================================




More information about the asterisk-bugs mailing list