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