Re: Migrating from Java to Python
Andrew McNamara <[email protected]> Sat, 08 Jul 2006 11:50:39 +1000
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
>See, these Java freaks gave me this JDBC URL:
>
> jdbc:sybase::Tds:espresso.my.org:4100/beandb
>
>How in the heck do you map that to arguments in Sybase.connect()?
I think that's actually a DSN (distinguished service name), rather than a
URL. Same idea, just a different format. The first 4 fields appear to be
specific to JDBC. That leaves:
hostname: espresso.my.org (the database server)
server port: 4100
database name: beandb
One of the old hands will have to tell you how to get python-sybase to
connect to anything other than localhost (the doco doesn't tell me!)
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/