Final changes to MYSQL