Mysql recipe almost works