Forum Stats

  • 3,733,158 Users
  • 2,246,705 Discussions
  • 7,856,540 Comments

Discussions

Connection to oracle with Python cx_Oracle [ORA-24315]

743856
743856 Member Posts: 4
edited September 2011 in Python
Hi all.
I have one question about cx_Oracle connection to database.
import cx_Oracle as orcl
dns = orcl.makedsn('dburl',1521,'MySID')
conn = orcl.connect('username','password',dns)
and after execution i get next error:
DatabaseError: ORA-24315: illegal attribute type

Can anybody explain why this error is appear, i also try this code on another computer, and it works good.

Best Regards

Answers

This discussion has been closed.