DatabaseLibrary - Which driver do I have to use for Sybase ASE database?

137 views
Skip to first unread message

Danilo franco

unread,
Mar 30, 2018, 4:15:50 AM3/30/18
to robotframework-users
Hello,
I'm using DatabaseLibrary (with Python 2.7.14 and Ride 1.5.2) with PostgreSQL database(driver psycopg2) and it works very well!

I'd like to use the same library in order to connect to Sybase ASE(15) database. Which driver do I have to use?
Looking at the source code it seems that there's no driver available for Sybase ASE,am I wrong?

Is there anyone who have any examples of code to Sybase with DatabseLibrary?

Thanks in advance for your time and your help,

Best Regards,

Danilo


Jerry Schneider

unread,
Mar 30, 2018, 11:47:58 AM3/30/18
to robotframe...@googlegroups.com
Have you looked into anything like python-sybase?  https://wiki.python.org/moin/Sybase
I personally have not used it, but it does look promising.  It appears to be db-api 2.0 compliant, so it should work if you plug it in in place of psycopg2 :)

The code you are referring to is to allow connection with databases where the modules are not 100% compliant with each other.

Thanks,
Jerry S
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

-- 
http://www.linkedin.com/in/jerryschneider
Linux registered user #475536
Ubuntu registered user #28583

Danilo franco

unread,
Mar 30, 2018, 2:58:57 PM3/30/18
to robotframework-users
Hi Jerry,
thanks a lot for your quick reply!

I will try to download the drivers from the link you sent me,I hope it works:)

Cheers,
BR

Danilo
Reply all
Reply to author
Forward
0 new messages