Fix an error with mysql and multiple sql statements