[Serusers] remote mysql server

Barry Murphy barry at unix.co.nz
Wed Mar 9 09:29:28 CET 2005


I still get:

root at 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 at pernau.at] 
> Sent: Wednesday, 9 March 2005 8:16 p.m.
> To: Barry Murphy
> Cc: serusers at 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 at 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 at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> > 
> > 
> 
> 





More information about the sr-users mailing list