[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jabber-jdev
Subject:    Re: [JDEV] xdb_sql connection with two hast
From:       Benoit Orihuela <borihuela () idealx ! com>
Date:       2001-04-27 10:34:39
[Download RAW message or body]

> 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic