Removed the mysql work if the database type doesnt define it.