set your mysql environment variable
On Wed, 09 Mar 2005 21:29:28 +1300, Barry Murphy barry@unix.co.nz wrote:
I still get:
root@wix:/usr/local/etc/ser# serctl acl show ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I'm connecting to a DB on a remote mysql server remember.
Barry
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Wednesday, 9 March 2005 8:16 p.m. To: Barry Murphy Cc: serusers@lists.iptel.org Subject: Re: [Serusers] remote mysql server
wrong syntax!
modparam("domain","db_url","mysql://ser:heslo@localhost/ser")
// is missing
regards, klaus
Barry Murphy wrote:
I'm trying to get SER to talk to a remtoe DB, I notice
other people in
#SER on FreeNode also have this issue, but no one has a fix.
I'm using the following in the config: modparam("usrloc|acc|auth_db|group|msilo", "db_url", "mysql::asterisk:passwd@dbserver/ser")
Ser seems to be looking at /tmp/mysql.sock instead of the
remote mysql
server.
Has anyone got this working?
Thanks Barry
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers