any number of options can be passed through as querystring arguments on the URL (i.e. mssql://scott:ti...@localhost/test?foo=bar&bat=hoho) which are passed through to pyodbc.connect() as part of the connection string, i.e. "user=scott;foo=bar;bat=hoho". As far as odbc.ini parameters, it depends on which of those are understood within this connection string, so check with the pyodbc documentation for that.
On Dec 4, 2009, at 3:29 PM, Bo Shi wrote: > Hi All - > > I'm playing around with pyodbc (using unixodbc) support in trunk - I > was wondering if there is any way to bypass the additional system-wide > "odbc.ini" settings file to create connections. Is there a way to > simply pass in all the connection parameters via create_engine(...) > that would normally be specified with the ini file? > > > Thanks, > Bo > > -- > > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To post to this group, send email to sqlalch...@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. > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@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.