Discussion:
sqlanydb & ASE15
(too old to reply)
python6009
2009-06-26 23:03:08 UTC
Permalink
Hi,

Can I use the Python sqlanydb driver with ASE 15.0.2 database? I am
able to connect to the the database, but can't find my tables - I am
guessing because they are in a specific "database" (mydb..table_name).
Am I missing an option on my connect string or am I out of luck?

conn = sqlanydb.connect(userid='login', password='pwd', dsn='DBNAME')

Also tried,

conn = sqlanydb.connect(userid='login', password='pwd', dsn='DBNAME',
dbn="mydb") - but didn't work (sqlanydb.OperationalError: Specified
database not found)


I am using sqlanydb with django-sqlany and would really like to be
able to use them on ASE15.

Thanks for any pointers.
Nathan Auch [Sybase]
2009-06-29 14:02:15 UTC
Permalink
The sqlanydb python driver and the Django backend for SQL Anywhere are
not supported with Sybase ASE. You may want to ask in the
sybase.public.ase.general newsgroup to see if ASE specific python &
django drivers exist.

Nathan Auch
Sybase iAnywhere
Post by python6009
Hi,
Can I use the Python sqlanydb driver with ASE 15.0.2 database? I am
able to connect to the the database, but can't find my tables - I am
guessing because they are in a specific "database" (mydb..table_name).
Am I missing an option on my connect string or am I out of luck?
conn = sqlanydb.connect(userid='login', password='pwd', dsn='DBNAME')
Also tried,
conn = sqlanydb.connect(userid='login', password='pwd', dsn='DBNAME',
dbn="mydb") - but didn't work (sqlanydb.OperationalError: Specified
database not found)
I am using sqlanydb with django-sqlany and would really like to be
able to use them on ASE15.
Thanks for any pointers.
Loading...