On 20.08.2014 18:58, Wilson, Derek S wrote: > What is the proper syntax for DSN? Is it only host:database or is there some > other way to specify a DSN?
As others have noted, this is database module dependent. The Python DB-API does not mandate a particular syntax for the DSN field, since databases typically have their own ideas of how to specify the data source, e.g. this may be a data source registered with an ODBC manager, a config file of a client lib, a plain host name or even a file name. Regards, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 21 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-19: PyCon UK 2014, Coventry, UK ... 29 days to go ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ DB-SIG maillist - DB-SIG@python.org https://mail.python.org/mailman/listinfo/db-sig