mod_dbd and multiple DB connections

mod_dbd and multiple DB connections

am 15.10.2009 10:06:49 von Ben Davies

------=_NextPart_000_000A_01CA4D76.D90B3330
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Can someone tell me if it is possible to have more than one database
connection using mod_dbd at once? For example, if I want to connect to
database A with mod_authn_dbd and connect to database B using mod_authz_dbd?
If this is possible, how do you configure more than one connection, and how
do you specify which connections to use.



I think I know the answer is that there can only be one connection per
server/virtual host. I hope this is not the case.



Cheers!



Ben Davies


------=_NextPart_000_000A_01CA4D76.D90B3330
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Can someone tell me if it is possible to have more =
than one
database connection using mod_dbd at once? For example, if I want to =
connect to
database A with mod_authn_dbd and connect to database B using =
mod_authz_dbd? If
this is possible, how do you configure more than one connection, and how =
do you
specify which connections to use.



 



I think I know the answer is that there can only be =
one
connection per server/virtual host. I hope this is not the =
case.



 



Cheers!



 



Ben Davies









------=_NextPart_000_000A_01CA4D76.D90B3330--

Re: mod_dbd and multiple DB connections

am 15.10.2009 21:03:45 von Nick Kew

--Boundary_(ID_1Jo1+NTrV335dZrPbWA/DA)
Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed
Content-transfer-encoding: 7BIT


On 15 Oct 2009, at 09:06, Ben Davies wrote:

> I think I know the answer is that there can only be one connection
> per server/virtual host. I hope this is not the case.

That's true in 2.2.x versions.

For what you want, you can try the svn trunk version, or any of the
(unreleased) 2.3.x tarballs.

--
Nick Kew

--Boundary_(ID_1Jo1+NTrV335dZrPbWA/DA)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: QUOTED-PRINTABLE

rap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-=
white-space; ">

On 15 Oct 2009, at 09:06, Ben Davies wro=
te:

n" style=3D"border-collapse: separate; font-family: Helvetica; font-s=
ize: medium; font-style: normal; font-variant: normal; font-weight: n=
ormal; letter-spacing: normal; line-height: normal; orphans: 2; text-=
indent: 0px; text-transform: none; white-space: normal; widows: 2; wo=
rd-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bord=
er-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -=
webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "> lang=3D"EN-GB" link=3D"blue" vlink=3D"purple">
">
0001pt; margin-left: 0cm; font-size: 11pt; font-family: Calibri, sans=
-serif; ">I think I know the answer is that there can only be one con=
nection per server/virtual host. I hope this is not the case.
div>

That's true in 2.2.x ver=
sions.

For what you want, you can try the sv=
n trunk version, or any of the (unreleased) 2.3.x tarballs.
>
-- 
Nick Kew


--Boundary_(ID_1Jo1+NTrV335dZrPbWA/DA)--

RE: mod_dbd and multiple DB connections

am 16.10.2009 11:44:09 von Ben Davies

------=_NextPart_000_00C0_01CA4E4D.97C83850
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Nice one! I was hoping this had been addressed.



Cheers!



Ben



From: Nicholas.Kew@Sun.COM [mailto:Nicholas.Kew@Sun.COM] On Behalf Of Nick
Kew
Sent: 15 October 2009 20:04
To: users@httpd.apache.org
Subject: Re: [users@httpd] mod_dbd and multiple DB connections





On 15 Oct 2009, at 09:06, Ben Davies wrote:





I think I know the answer is that there can only be one connection per
server/virtual host. I hope this is not the case.



That's true in 2.2.x versions.



For what you want, you can try the svn trunk version, or any of the
(unreleased) 2.3.x tarballs.



--

Nick Kew


------=_NextPart_000_00C0_01CA4E4D.97C83850
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" =
xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/mee tings/" =
xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/x ml" =
xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/oi s/" =
xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/di rectory/" =
xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/20 02/1/alerts/"=
xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " =
xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/partto part" =
xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/wor kflow/" =
xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsi g-setup" =
xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsi g" =
xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/200 6/digital-sig=
nature" =
xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compa tibility/2006=
" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns:mrels=3D"http://schemas.openxmlformats.org/package/200 6/relationshi=
ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" =
xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/2006/types"=
=
xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/2006/messag=
es" =
xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ SlideLibrary/=
" =
xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor talServer/Pub=
lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" =
xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">






break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'>Nice one! I was hoping this had been =
addressed.



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'> 



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'>Cheers!



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'> 



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'>Ben



style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" ;
color:#1F497D'> 





0cm 0cm 0cm'>

style=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:
style=3D'font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Nicholas.Kew@Sun.COM
[mailto:Nicholas.Kew@Sun.COM] On Behalf Of Nick Kew

Sent: 15 October 2009 20:04

To: users@httpd.apache.org

Subject: Re: [users@httpd] mod_dbd and multiple DB =
connections







 



 







On 15 Oct 2009, at 09:06, Ben Davies =
wrote:

















style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif" '>I
think I know the answer is that there can only be one connection per
server/virtual host. I hope this is not the case.











 





That's true in 2.2.x versions.







 







For what you want, you can try the svn trunk =
version, or any
of the (unreleased) 2.3.x tarballs.







 







-- 







Nick Kew











------=_NextPart_000_00C0_01CA4E4D.97C83850--