[Serusers] Ser with remote mysql
Sebastian Damm
lists at sdamm.de
Sun Nov 5 23:42:23 CET 2006
Hallo,
Am 05. November 2006 schrieb ram:
> 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
Just read the error. You are using the domain module but have not set
the db_url for that module. So
modparam("domain", "db_url", "mysql://ser:heslo@databaseserverip/ser")
might help.
Sebastian
--
Sebastian Damm
Blog: http://blog.sdamm.de
GPG-Encrypted mail welcome! ID: 0x64D96827 @ pgpkeys.pca.dfn.de
Fingerprint: CB7F F23F D950 644D 838B 215A 550F 75EC 64D9 6827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061105/7d4790fd/attachment.pgp>
More information about the sr-users
mailing list