Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > handling more databases with ZEO

Reply
Thread Tools

handling more databases with ZEO

 
 
Almad
Guest
Posts: n/a
 
      05-06-2005
Hello,

I'm using zodb with zeo and I want to connect to more databases from my
application. On server side, it's no problem, I just set up second
filestorage:

<filestorage 1>
path /var/www/databases/zodb/almad-net.fs
</filestorage>
<filestorage 2>
path /var/www/databases/zodb/azilla.fs
</filestorage>

However, I dunno how to connect from app. Currently, I'm using

serverData = {
'shelf' : Shelf(('localhost', 11000), [Cat1, Cat2])
}

I dunno where to pass any argument to let ZEO knew where I'm connecting to.
Please let me knew any resource where this is described...

Thanks,
--
Lukas "Almad" Linhart
[:: http://www.almad.net/ ::]
 
Reply With Quote
 
 
 
 
Simon Percivall
Guest
Posts: n/a
 
      05-07-2005
You should take a look at
http://www.zope.org/Wikis/ZODB/Front...ide/index.html

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[podcast] Expert panel discussion of XQuery, native XML databases, SQL/XML databases Ken North XML 0 07-14-2005 05:50 AM
Handling more zodb databases with zeo Almad Python 0 06-24-2005 09:54 PM
IndexedCatalog and ZEO Almad Python 4 03-07-2005 11:42 PM
More ZEO/ZODB issues drs Python 0 07-12-2003 12:41 AM
ZEO and COM drs Python 0 07-11-2003 08:41 PM



Advertisments