Mysql, EMX, validation