Really simple cross-platform database?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Really simple cross-platform database?
# 1  
Old 07-03-2012
Really simple cross-platform database?

I'm looking for a really simple to use lightweight database. Ideally something open-source that stores data in a (semi-) human-readable format, in case the software isn't working.

Something cross-platform enough that I can use it on my Linux machine, my Mac, or stick it on a USB stick and access my data from an Internet cafe on the road. A command line UI is fine, and might even be better for portability/compatibility.

And most importantly, something I can start using fast, without spending a lot of time learning a new language in detail to write a custom front-end.

(MS Access does this last bit well, unfortunately it fails every other criteria)

Here's the problem I'm trying to solve:

I do a lot of researching different options. Maybe I'm working on a project that needs web hosting in Elbonia. Right now that means making text file that lists every Elbonian webhost I can find, what they charge, whether they offer VPS or only shared, etc. Then add on notes when I call them -- this one sends me to a Moravian call center, this one's sysadmin is a Linux kernel contributor, etc. Now all of a sudden the project requirements change and I need to find all the hosts that offer dedicated. Hope I remembered to note that down...

Next week it's finding the right router... and then one distributor offers far better terms, so which routers of the one's he's got in stock do we want?

I used to use DevonThink Pro Office for this, but the proprietary, Mac-only, "big software" approach didn't fit my needs.
# 2  
Old 07-03-2012
Perhaps SQLite would work for you. It's simple. It's crossplatform. And there's no need to learn a new language to build a frontend.

SQLite is implemented as an in-process library. There are bindings for all common languages, so you can almost certainly use your programming language of choice to work with it. Since it's a library of functions, there is no separate database process to connect to. The database itself is usually a local file, which you can fetch when needed or carry with you on a usb stick.

Your frontend could conceivably be as simple as using a sh script to wrap around the sqlite3 command line tool.

Or not. Smilie

Regards,
Alister
# 3  
Old 07-03-2012
Thanks! I would prefer to find something where I can at least read the database in a text editor in the event I can't use the appropriate program to access it, though. Every time I've tried something that involved storing data in a non-human-readable format, I later regretted it for one reason or another.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Making a python package and cross-platform compatible

Hi Ive been trying for days now and i just cannot work this out. Can someone please tell me if im doing this right. I've written some python3.3 code and now i want to transfer it to an embedded computer to execute. My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel The... (1 Reply)
Discussion started by: RedEyedDog
1 Replies

2. Debian

Making a python package and cross-platform compatible

Hi Ive been trying for days now and i just cannot work this out. Can someone please tell me if im doing this right. I've written some python3.3 code and now i want to transfer it to an embedded computer to execute. My OS is a : Debian GNU/Linux 6.0.7 (squeezez) 32-bit kernel ... (0 Replies)
Discussion started by: RedEyedDog
0 Replies

3. Shell Programming and Scripting

configuring packages for cross-platform build

Hi all, I wish to build a few packages for my embedded target running linux over ARM9. It would be tough for me to compile my packages on target so I need to build on a host machine and then transfer the generated binaries. So I got the source-tarball for the packages I need. Now here are my two... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

4. UNIX for Advanced & Expert Users

please recommend books or articles on cross-platform portable code

I have know some items on cross-platform portable byte order alignment I don't know if there are books or articles on this topic. your recommendation is appreciated (1 Reply)
Discussion started by: zhongyj
1 Replies

5. UNIX for Advanced & Expert Users

Cross platform Authentication

I am looking to have UNIX authenticate against Active Directory in a Windows Server 2003 environment, any suggestion? I am very new to UNIX, 2 weeks worth knowledge, if that. Thanks! (3 Replies)
Discussion started by: Optik
3 Replies
Login or Register to Ask a Question