[Serusers] Ser with remote mysql

ram talk2ram at gmail.com
Sun Nov 5 18:03:06 CET 2006


Hi all

I have Ser running one server ( centos)
and another server Database ( FC5) , Mysql mysql-5.0.X


iam able to connect from ser server to mysql server from prompt
iam able to connect.

wheni configure in ser.cfg and run ,iam getting this following error.

why this still conencting to local server ?

Nov  5 22:26:11 ser2 ser[22959]: Maxfwd module- initializing
Nov  5 22:26:11 ser2 ser[22959]: new_connection(): Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Nov  5 22:26:11 ser2 ser[22959]: db_init(): Could not create a connection
Nov  5 22:26:11 ser2 ser[22959]: ERROR:domain_db_init: cannot initialize
database connection
Nov  5 22:26:11 ser2 ser[22959]: init_mod(): Error while initializing module
domain


ser.cfg in short
fifo_db_url="mysql://ser:heslo@databaseserverip/ser"
modparam("usrloc", "db_url", "mysql://ser:heslo@databaseserverip/ser")
modparam("acc", "db_url", "mysql://ser:heslo@databaseserverip/ser")

how can i resolve this problem

Ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061105/f6775183/attachment.htm>


More information about the sr-users mailing list