[JDEV] xdb_sql connection with two hast
Benoit Orihuela
borihuela at idealx.com
Fri Apr 27 05:34:39 CDT 2001
> Let me know..whether can I use connection with two different host(differnet
> database server) on mysql module...how?
you can use different database servers according to namespaces.
for instance, I use a configuration like that :
<xdb id="xdb_auth">
<host/>
<ns>jabber:iq:auth</ns>
<ns>jabber:iq:profile</ns>
<ns>yahootrans:data</ns>
<load><xdb_sql>/home/jabber/lib/jabber/xdb_sql.so</xdb_sql></load>
</xdb>
<xdb id="xdb_roster">
<host/>
<ns>jabber:iq:roster</ns>
<ns>jabber:iq:filter</ns>
<load><xdb_sql>/home/jabber/lib/jabber/xdb_sql.so</xdb_sql></load>
</xdb>
and so on ...
Regards,
Benoit.
--
Benoit Orihuela
IDEALX S.A.S.
More information about the JDev
mailing list