Skip to Main Content

DevOps, CI/CD and Automation

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

cx_Oracle issue

675949Dec 16 2008 — edited Sep 23 2010
Hi All,

When I try to create a connection to Oracle 10g DB using cx_Oracle library I get the error message: cx_Oracle.DatabaseError: ORA-24315: illegal attribute type


The DB is installed on the same machine I am running the code. Is there anything I am doing wrong or any mistakes in the syntax?? Below is the code for your reference:

F:\MyWork>python
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00)
MSC v.15
Type "help", "copyright", "credits" or "license" for more
import cx_Oracle>>> connection_string = "system/mypass@GLOBAL">>> connection = cx_Oracle.Connection(connection_string)Traceback (most recent call last): File "<stdin>", line 1, in <module>cx_Oracle.DatabaseError: ORA-24315: illegal attribute typeThanks,Abdul

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 21 2010
Added on Dec 16 2008
6 comments
12,595 views