[Asterisk-Users] MySQL on another host?

Oliver Breidenbach oliver.b at gebe.net
Tue Sep 7 14:28:33 MST 2004


Carlos,

thanks for the answer.

You sure that you need the sock=/var/lib/mysql/mysql.sock directive?

Regards,

Oliver.

On 07.09.2004, at 23:00, Carlos Gabriel Drach wrote:

> Oliver Breidenbach wrote:
>
>> Hi there,
>>
>> what do I need to take into consideration if I want Asterisk to talk 
>> to a MySQL database on a different host to store CDR records?
>>
>> The cdr_addon_mysql module does not want to load and Asterisk claims 
>> that it "cannot open shared object".
>>
>> It compiled fine, however.
>>
>> Any ideas?
>>
>> Cheers,
>>
>> Oliver.
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> i am use mysql on another host.
>
> my cdr_mysql.conf:
>
> [global]
> hostname=www.XXXXXXX.com
> dbname=asterisk
> password=XXXXXX
> user=asterisk
> ;port=3306
> sock=/var/lib/mysql/mysql.sock
> ;userfield=
>
> Bye
>
> Carlos
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list