update mysql.yml, use failed_when function