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