I’ve no experience with encrypted databases so I’m only guessing: did you store the password in Keychain.app?