[Kamailio-Users] connection to remote mysql database

Asim Riaz ariaz78 at gmail.com
Fri Sep 5 17:22:52 CEST 2008


I found the problem my mistake was "usr_loc" it should be "usrloc"

thanks
Asim

On Fri, Sep 5, 2008 at 4:12 PM, Henning Westerholt <
henning.westerholt at 1und1.de> wrote:

> On Friday 05 September 2008, Asim Riaz wrote:
> > I am using Kamailio 1.2 , in t openser.cfg I defined the the url for db,
> > which is not local
> >
> > ("auth_db|permissions|uri_db|usr_loc", "db_url",
> > "mysql://openser:db_password@db_ip_address/openser")
> >
> > but still getting the error message below when start openser;
> >  /sbin/openser[13064]: ERROR: group_db_bind: unable to connect to the
> > database
> >
> > any idea ?
>
> Hi Asim,
>
> you miss the group module from the db_url define, try to add this module
> too.
> (The modules uses a default connection if they are not configured.)
>
> Cheers,
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080905/3016e4c1/attachment.htm>


More information about the sr-users mailing list