Any err in instantiateDb is fatal.