Optionally create a database.