SQLite is a C library that implements a self-contained, serverless SQL database engine. Data is stored in a single file per database. Permissions are left completely to the filesysem. SQLite is popular for embedded and single-user applications. There is also a command-line client program.
Used by FireFox and Skype, and a version ships with OSX.
sqlite2 old.db .dump | sqlite3 new.db