Skip to Main Content

Developer Community

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCCI (C++) incompatibility Oracle Database 11g Enterprise Edition Release 11.2.0.3.0

923193Nov 10 2025

Hi guys,

is there anyone using OCCI (C++) to connect with Oracle 11 g Enterprise edition with Ubuntu 22.04.
i m facing issue on connection with following error code.
Oracle Error: 12163 - ORA-121
I m using tnsnames.ora for tns entry. Check every single path seems perfect and connection works with sql plus from same terminal. But with c++ script it crashed.
I have tried every single version of instaclient latest to till 12 . Have not tried 11 because with ubuntu 22.04 g++ version is not compatiable with OCCI.

If anyone have clear idea about this. Please suggest something.
Thanks to all
Jagdeep Singh

Comments
Post Details
Added on Nov 10 2025
0 comments
72 views