[Serusers] remote mysql server

Barry Murphy barry at unix.co.nz
Wed Mar 9 19:09:07 CET 2005


Could you explain a little more, i.e.
export MYSQL="host.of.db.co.nz"

With bsd, does this go into the user SER's .profile?

Thanks
Barry

----- Original Message -----
From: "Patrick Baker" <patricksbaker at gmail.com>
To: "Barry Murphy" <barry at unix.co.nz>
Cc: "Klaus Darilion" <klaus.mailinglists at pernau.at>; <serusers at lists.iptel.org>
Sent: Thursday, March 10, 2005 2:13 AM
Subject: Re: [Serusers] remote mysql server


> 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