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@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