Removing extra mysql bits