Fixes on mysql test