connect to packs db