On Nov 29, 2012, at 4:00 PM, E.Scott M. wrote:

> 
> Windows.connect does not work for me.
> I get this
> >>> conn = Windows.connect('QRQBwhoimp', user = '', password = '')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> mx.ODBC.Error.NotSupportedError: ('IM001', 0, '[Microsoft][ODBC Driver 
> Manager] Driver does not support this function',
> 12173)
> Which I guess is the same message as before.
>  
> However,
> DriverConnect lets me use the DSN=QRQBwhoimp form and that seems to work.
>  
> >>> conn = Windows.DriverConnect('DSN=QRQBwhoimp')
> >>>
> >>> dir(conn)
> ['__enter__', '__exit__', 'close', 'commit', 'cursor', 'getconnectoption', 
> 'getinfo', 'nativesql', 'rollback', 'setconne
> ctoption']
> >>>

there's an awkward way we can work around that but if you bought mxodbc, they 
should be able to maybe help out with that ?   there might be some arguments 
that connect() needs for your ODBC drivers.     if mxodbc support can give you 
some guidance that would make this a lot easier to figure out.




-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to