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

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


The following issue has been SUBMITTED. 
====================================================================== 
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:17 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-03 05:17 dmig           SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2011-06-03 05:17 dmig           SVN Revision (number only!) => 321674          
======================================================================




More information about the asterisk-bugs mailing list