[Kamailio-Users] connection to remote mysql database

Asim Riaz ariaz78 at gmail.com
Fri Sep 5 17:05:36 CEST 2008


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]: permissions - initializing
/sbin/openser[13064]: WARNING: File not found:
//etc/openser/permissions.allow
 /sbin/openser[13064]: Default allow file (//etc/openser/permissions.allow)
not found => empty rule set
 /sbin/openser[13064]: WARNING: File not found:
//etc/openser/permissions.deny
/sbin/openser[13064]: Default deny file (//etc/openser/permissions.deny) not
found => empty rule set
 /sbin/openser[13064]: new_connection: Can't connect to local MySQL server
through socket '/var/run/mysqld/mysqld.sock' (2)
 /sbin/openser[13064]: ERROR: group_db_bind: unable to connect to the
database
 /sbin/openser[13064]: ERROR:group:mod_init: unable to open database
connection
 /sbin/openser[13064]: init_mod(): Error while initializing module group
/sbin/openser[13064]: INFO:mi_fifo:mi_destroy: process hasn't been created
-> nothing to kill


any idea ?

thanks in advance


Asim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080905/3399a66e/attachment.htm 


More information about the Users mailing list