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 <[email protected]> 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 <[email protected]> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---