Hi<br><br>I have 3 server with <a href="http://172.16.0.10/13/14">172.16.0.10/13/14</a> IP address.<br><br>My DB is located for 172.16.0.10. I tried to connect mysql from terminal, it works great. <br><br>But when I start kamailio it gives me following error..<br>
<br><br><b>kamailio.cfg</b><br><br>loadmodule &quot;usrloc.so&quot;<br>-----<br>-----<br>-----<br>modparam(&quot;usrloc&quot;, &quot;socket_column&quot;, &quot;socket&quot;)<br>modparam(&quot;usrloc&quot;, &quot;use_domain&quot;, 0)<br>
modparam(&quot;usrloc&quot;, &quot;desc_time_order&quot;, 0)<br>modparam(&quot;usrloc&quot;, &quot;timer_interval&quot;, 60)<br>modparam(&quot;usrloc&quot;, &quot;db_url&quot;, &quot;mysql://<a href="http://openser:openserrw@172.16.0.10/openser">openser:openserrw@172.16.0.10/openser</a>&quot;)<br>
<br><br><b>error....<br><br></b>Feb  4 17:10:53 localhost /usr/local/sbin/kamailio[28792]: ERROR:core:db_do_init: could not add connection to the pool<br>Feb  4 17:10:53 localhost /usr/local/sbin/kamailio[28792]: ERROR:usrloc:child_init: child(8): failed to connect to database <br>
Feb  4 17:10:53 localhost /usr/local/sbin/kamailio[28792]: ERROR:core:init_mod_child: failed to initializing module usrloc, rank 8 <br>Feb  4 17:10:53 localhost /usr/local/sbin/kamailio[28792]: ERROR:core:main_loop: init_child failed for UDP listener <br>
Feb  4 17:10:53 localhost /usr/local/sbin/kamailio[28793]: ERROR:db_mysql:db_mysql_new_connection: driver error: Can&#39;t connect to MySQL server on &#39;172.16.0.10&#39; (4)<b><br clear="all"></b><br><br>-- <br>Regards,<br>
<br>Chandrakant Solanki<br>