Ping error server compile time caps length less than 8
I am trying to connect to an old Oracle 8i database (an attempt to unload the data from this ancient beast) and receives this error message:
Ping error server compile time caps length less than 8
When looking into the code for tcp_protocol_nego.go i find these lines:
if result.ServerCompileTimeCaps == nil || len(result.ServerCompileTimeCaps) < 8 { return nil, errors.New("server compile time caps length less than 8") }
What is ServerCompileTimeCaps ?
sorry oracle before version 9 is not tested so not supported
ServerCompileTimeCaps: That is the server capabilities (features, supported attributes, etc.) that are available at compile time.
The 8i version does not have as many capabilities as later versions, so the 8i capabilities array is shorter, and code above shows that error.
If you are trying to get 8i to work, you might start by commenting out that line and then see what breaks next and see what needs to be fixed if not all the caps are available.