connect to a db and get a list of all collections