def METHOD_NAME(Name, ConnectionCredential):
    Host='%'
    if '@' in Name:
        myName=Name.split('@')[0]
        Host=Name.split('@')[1]
    else:
        myName=Name
    cmd='mysql -u root -e "use mysql; select user from user where user=' \
    + "'" + myName + "'" + " and host='" + Host +  "';" + '"'
    os.environ['MYSQL_PWD'] = ConnectionCredential
    code, out=RunGetOutput(cmd,False)
    os.environ['MYSQL_PWD'] = ''
    print(repr(out))
    if '\n'+myName+'\n' in out:
        return True
    return False