[JDEV] xdb_sql connection with two host

Dillip Kumar Swain babu95 at yahoo.com
Wed Apr 25 15:02:14 CDT 2001

Hi Benoit.
I didn't get you..can you please clarify....actually I have two database(mysql) on different server like abc.com & xyz.com..I want to fetch data from  both  server.... can I configure in xdb_sql.xml on xdb_sql  like this...

<xdb_sql xmlns="jabberd:xdb_sql:config">
    <!-- Backend to use -->

    <!-- Configure information about the SQL connection -->


awaiting your reply

Message: 3
From: Benoit Orihuela <borihuela at idealx.com>
Date: Fri, 27 Apr 2001 12:34:39 +0200
To: jdev at jabber.org
Subject: Re: [JDEV] xdb_sql connection with two hast
<000901c0cdd3$95ce6960$1b01a8c0 at dsf>
Reply-To: borihuela at idealx.com
Reply-To: jdev at jabber.org

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

  <xdb id="xdb_roster">

and so on ...



Benoit Orihuela         

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010426/29c6bd26/attachment-0002.htm>

More information about the JDev mailing list