changes to mysqlapi