[asterisk-users] Asterisk 1.6 MySQL Realtime fails to connect with working username and password.

Ernie Dunbar maillist at lightspeed.ca
Mon Mar 7 17:40:45 CST 2011


> On Mon, Mar 7, 2011 at 4:52 PM, Ernie Dunbar <maillist at lightspeed.ca>
> wrote:
>
>> [mya2billing]
>> dbhost = localhost
>> dbname = mya2billing
>> dbuser = a2billinguser
>> dbpass = REDACTED
>> dbport = 3306
>>
>
> Try adding "dbsock = /var/lib/mysql/mysql.sock" to the end of this config
> stanza and see if that helps (or whatever is the actual location of your
> mysql.sock file).
>

Hmm. This appears to have fixed the problem, even though I swear I've done
this already. (and for anyone reading this, on Debian the file is
mysqld.sock)




More information about the asterisk-users mailing list