use local directory for db
ignore temporary database directory