[OpenSIPS-Users] ERROR:db_mysql:db_mysql_new_connection: driver error(2003)

Alok Kushwaha alok.cs04 at gmail.com
Mon Jan 11 10:08:30 CET 2010


this is the exact Error-

Jan 10 20:53:11 localhost /usr/local/sbin/opensips[2261]:
ERROR:db_mysql:db_mysql_new_connection: driver error(2003): Can't connect to
MySQL server on '200.200.100.22' (4)
Jan 10 20:53:11 localhost /usr/local/sbin/opensips[2261]:
ERROR:core:db_do_init: could not add connection to the pool
Jan 10 20:53:11 localhost /usr/local/sbin/opensips[2261]:
ERROR:uri_db:uridb_db_init: unable to connect to the database
Jan 10 20:53:11 localhost /usr/local/sbin/opensips[2261]:
ERROR:core:init_mod_child: failed to initializing module uri_db, rank 20




Alok Kushwaha wrote:
> 
> Hi! All,
> 
> My DB(mysql) server is on different machine. On starting the opensips
> (/usr/local/sbin/opensips start ) it's throwing following error-
> 
> ERROR:db_mysql:db_mysql_new_connection: driver error(2003): Can't connect
> to
> MySQL server on 'IP'
> 
> but directly i am able to connect withmysql server. ( mysql -u root -h
> 'IP'
> -p) .
> 
> Please tell me the possible causes and solution.
> 
> -- 
> Regards,
> Alok Kushwaha
> 
> 
> "always be the reason of someones happiness."
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/ERROR-db-mysql-db-mysql-new-connection-driver-error-2003-tp4281043p4284481.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list