Saving large OGR Layers with Categories

We are having an issue saving the style for large OGR layers (40,000+ polygons) that have categories generated for them.

This is the code we are using:
If pMapImage.AxMap1.SaveLayerOptions(iHandle, oLayer.Name, True, oLayer.Name) <> True Then
Dim iErr As Integer = oLayer.LastErrorCode
End If

The error I am getting is MySQL error message:Data too long for column ‘Style’ at row 1 Description: followed by the actual insert command, the length of the Style text does exceed the limit of 65535 for TEXT fields in MySQL. It there anyway to not save the CategoryIndices values and generate them each time the layer is open?

Thank for your help on this.