Database creation and opening

The database is defined and allocated to a location and directory:

FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/atmp.db"];

To engage with the database, you must connect and open it up, as shown in the following:

if (![db open]) {     [db release];     return; }