2009/10/4 BluePoint <phil.charleswo...@physics.org>:
>
> Yes, thanks, I understand that - my current apps look for the database
> in a shared folder
> on another machine. However, I was wondering how one would tell web2py
> to do that.
> Normally one specifies the database in models/db.py by a line like:
>    db = DAL('sqlite://storage.sqlite')
> and the database automatically goes in the databases sub-directory.
> How would one modify that code to use a path something like:
>    '//othermachine/databases/storage.sqlite' ?
>
>
> On Oct 3, 5:25 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>> sqlite is not a client server database so the only option is for you
>> to share the folder (smb or nfs).
>>
>> On Oct 3, 10:49 am, BluePoint <phil.charleswo...@physics.org> wrote:
>>
>>
>>
>> > I currently have a suite of 3 applications (not using Web2py) which
>> > run on different machines on a LAN and all access a single SQLite
>> > database on one of those machines. I am considering porting the
>> > applications to Web2py but I wonder if it will be possible to share
>> > the database in this way.
> >
>


I think your app must run in the server where your sqlite is, and the
other machines access that app via browser.

-- 
Hernan Olivera

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to