[Serusers] remote mysql server

Patrick Baker patricksbaker at gmail.com
Wed Mar 9 14:13:09 CET 2005


set your mysql environment variable


On Wed, 09 Mar 2005 21:29:28 +1300, Barry Murphy <barry at unix.co.nz> wrote:
> 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
> > >
> > >
> >
> >
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list