Thanks for all the tips.
MySQL works now. We've moved the libraries about and left the "socks" directive out and there you go.
Cheers,
Oliver.
On 07.09.2004, at 23:49, Matthew Boehm wrote:
sock(s) are only used when connecting to a mysql server that is located on
the same machine. So if you are connecting to a MySQL server on another host
then you do not need the sock= directive.
Matthew ----- Original Message ----- From: "Oliver Breidenbach" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 4:28 PM Subject: Re: [Asterisk-Users] MySQL on another host?
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
