<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=3><EM>Hi Benoit.</EM></FONT></DIV>
<DIV><EM>I didn't get you..can you please clarify....actually I have two 
database(mysql) on different server like abc.com &amp; xyz.com..I want 
to&nbsp;fetch data from  both  server.... can I configure&nbsp;in xdb_sql.xml on 
xdb_sql  like this...</EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM>&lt;xdb_sql xmlns="jabberd:xdb_sql:config"&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;!-- Backend to use --&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;backend&gt;mysql&lt;/backend&gt;</EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM>&nbsp;&nbsp;&nbsp; &lt;!-- Configure information about the SQL 
connection --&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;connection&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;host&gt;abc.com&lt;/host&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;db&gt;jabber&lt;/db&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;user&gt;abc&lt;/user&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;pass&gt;abc123&lt;/pass&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;/connection&gt;</EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM>&nbsp;&nbsp;&nbsp; &lt;connection&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;host&gt;xyx.com&lt;/host&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;db&gt;jabber&lt;/db&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;user&gt;xyx&lt;/user&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;pass&gt;xyx123&lt;/pass&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;/connection&gt;<BR><FONT size=3><STRONG>so..on..</STRONG></FONT></EM></DIV>
<DIV>&nbsp;</DIV>
<DIV><EM><FONT size=3>awaiting your reply</FONT></EM></DIV>
<DIV><EM>Thanx</EM></DIV>
<DIV><EM>dillip</EM></DIV>
<DIV><EM>&nbsp;</DIV></EM>
<DIV><FONT size=3><EM>Message: 3<BR>From: Benoit Orihuela &lt;<A 
href="mailto:borihuela@idealx.com">borihuela@idealx.com</A>&gt;<BR>Date: Fri, 27 
Apr 2001 12:34:39 +0200<BR>To: <A 
href="mailto:jdev@jabber.org">jdev@jabber.org</A><BR>Subject: Re: [JDEV] xdb_sql 
connection with two 
hast<BR>&lt;000901c0cdd3$95ce6960$1b01a8c0@dsf&gt;<BR>Reply-To: <A 
href="mailto:borihuela@idealx.com">borihuela@idealx.com</A><BR>Reply-To: <A 
href="mailto:jdev@jabber.org">jdev@jabber.org</A></EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM><BR>&gt; Let me know..whether can I use connection with 
two different host(differnet<BR>&gt; database server) on mysql 
module...how?<BR>you can use different database servers according to 
namespaces.<BR>for instance, I use a configuration like that :</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>&nbsp; &lt;xdb id="xdb_auth"&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;host/&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;ns&gt;jabber:iq:auth&lt;/ns&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;ns&gt;jabber:iq:profile&lt;/ns&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;ns&gt;yahootrans:data&lt;/ns&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;load&gt;&lt;xdb_sql&gt;/home/jabber/lib/jabber/xdb_sql.so&lt;/xdb_sql&gt;&lt;/load&gt;<BR>&nbsp; 
&lt;/xdb&gt;</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>&nbsp; &lt;xdb id="xdb_roster"&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;host/&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;ns&gt;jabber:iq:roster&lt;/ns&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;ns&gt;jabber:iq:filter&lt;/ns&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;load&gt;&lt;xdb_sql&gt;/home/jabber/lib/jabber/xdb_sql.so&lt;/xdb_sql&gt;&lt;/load&gt;<BR>&nbsp; 
&lt;/xdb&gt;</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>and so on ...</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>Regards,</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM><BR>Benoit.</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>-- <BR>Benoit 
Orihuela&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>IDEALX 
S.A.S.</EM></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><EM>--__--__--</EM></FONT></DIV></BODY></HTML>