Database as part of Standalone app

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dalkin
Posts: 176
Joined: Wed Jul 04, 2007 2:32 am
Location: Blackheath, Australia
Contact:

Database as part of Standalone app

Post by dalkin » Tue Jul 10, 2007 3:20 am

If I build a standalone app. can it be bundled with aMySql database available to the user through localhost? I'm looking for a way to save text changes and retrieve images for use in a stack and db seems to be the only solution that will meet this need. True?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Tue Jul 10, 2007 6:34 am

Hi Dalkin,

MySQLrequires a setup to run, and this may get messy. If the database is single-user and local, you might be better off using the SQLite driver that comes with Revolution 2.8.1

Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

asawyer13
Posts: 53
Joined: Sun Jun 24, 2007 4:47 pm

Post by asawyer13 » Tue Jul 10, 2007 8:29 pm

There is a version of MYSQL that is portable that might work.
It can be setup to start via a command line, and I suspect could be made to work.
I think it's from xampp.
Alan

cyoung_mi
Posts: 4
Joined: Mon Mar 17, 2008 12:31 am

Post by cyoung_mi » Mon Jun 02, 2008 3:17 pm

Can RunRev work with some other form of database file?
Like Microsoft Access or something that doesn't need a server?

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Mon Jun 02, 2008 3:58 pm

Valentina and SQLite don't need a server installation (Though Valentina has it as an option).
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Mon Jun 02, 2008 6:01 pm

Just for completeness: you can use ODBC drivers to connect to Access databases; however, while Windows ships with an Access driver, MacOSX does not, and I'm not sure about the Linux situation.
There are also some limitations when connecting with ODBC databases: not all databases will return table names and some may only support forward-only result sets.
So your best choices are SQLite (free) or Valentina (commercial).

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply

Return to “Databases”