def get_user_hosts(self, username):
        users = self.__execute_query("select Host from mysql.user where LOWER(User)='%s'" % username.lower())
        hosts = []
        if users:
            for user in users:
                hosts.append(user['Host'])

        return hosts
Return a list of all floating IPs for a given host.
dataset/ETHPy150Open python-provy/provy/provy/more/centos/database/mysql.py/MySQLRole.get_user_hosts--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/legacy_v2/contrib/floating_ips_bulk.py/FloatingIPBulkController.show