more MySQL Fixes