IBM Support

Read-only error message with ODBC

Troubleshooting


Problem

Resolving the message: [Generic Connectivity Using ODBC][unixODBC]Connection is read-only, only select statements are allowed. (SQL State: S1000; SQL Code: 2)

Symptom

ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity Using ODBC][unixODBC]Connection is read-only, only select statements are allowed. (SQL State: S1000; SQL Code: 2)

Resolving The Problem

This issue can be resolved by changing the ODBC setting property on the client machine to ReadOnly= false.

  • On Windows systems, you access the ODBC settings as follows: Start > Control Panel > Administrative Tools > Data Sources (ODBC).
  • On Linux/UNIX systems, you can open the ODBC.ini configuration file for editting and change the ReadOnly property value.
  • On Linux systems, you can also use the UNIX ODBC Manager to make the change.
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ916938

Document Information

More support for:
IBM PureData System

Software version:
1.0.0

Document number:
462723

Modified date:
17 October 2019

UID

swg21570447