add mysql media and geometry support