allow specification of the database that contains the config table