def METHOD_NAME(Name, ConnectionCredential):
    cmd='mysql -u root -e "SHOW DATABASES WHERE \`Database\` = ' + "'" + Name+"';"+'"'
    os.environ['MYSQL_PWD'] = ConnectionCredential
    code, out=RunGetOutput(cmd,False)
    os.environ['MYSQL_PWD'] = ''
    if '\n'+Name+'\n' in out:
        return True
    return False