Summary:ASTERISK-17957: [patch] Default mysql socket selection code makes module config load to fail
Reporter:Dmitriy Geels (dmig)Labels:
Date Opened:2011-06-03 05:17:33Date Closed:2012-01-26 09:18:46.000-0600
Versions:1.8.4 Frequency of
Environment:Attachments:( 0) res_config_mysql.c.patch
( 1) res_config_mysql.c.patch
Description:I use almost empty res_config_mysql.conf, just to make module use default settings:

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.
Comments:By: Dmitriy Geels (dmig) 2011-06-06 03:31:51.843-0500

fix for this bug

By: Matt Jordan (mjordan) 2011-12-15 08:57:23.109-0600

Please use "diff -u" or "svn diff" on all your patches and attach them with a valid license agreement. Thanks!

By: Matt Jordan (mjordan) 2012-01-26 09:18:30.134-0600

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines