def get_connection_info(self, id):
        conn = self.__list.get_connection(id)
        if conn is not None:
            succeeded = False
            key = str(conn.id) + "." + conn.name + "." + conn.host
            passwd = DBLocator.keyChain.get_key(key)
            config = {'host': conn.host,
                      'port': conn.port,
                      'user': conn.user,
                      'passwd': passwd}
            try:
                test_db_connection(config)
                succeeded = True
            except VistrailsDBException:
                succeeded = False
                
            config['id'] = conn.id
            config['name'] = conn.name
            config['db'] = conn.database
            config['succeeded'] = succeeded
        else:
            config = None
        return config
Return a list of (key, dist) pairs, with `dist` being the
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/db/locator.py/DBLocator.get_connection_info--crossover with--dataset/ETHPy150Open beetbox/beets/beets/autotag/hooks.py/Distance.items