{Attachment?} Re: [unixODBC-dev] "Newbie" question about connecting to DSN

Jonas Temple jtemple at yhti.net
Mon Aug 9 05:06:06 BST 2004


Nick Gorham wrote:
> Oh, our spam/virus blocker took exception to the .odbc.ini attachment, 
> maybe its better to include the contents inline in the mail instead of 
> as attachments.
> 
Okay, no problem...here's the .odbc.ini:

> [My170]
> Description		= iSeries Access ODBC Driver
> Driver		= iSeries Access ODBC Driver
> System		= TheFROGMachine
> UserID		= JONAS
> Password		= QWEASZ12
> Naming		= 0
> DefaultLibraries		= QGPL
> Database		= 
> ConnectionType		= 0
> CommitMode		= 0
> ExtendedDynamic		= 0
> DefaultPkgLibrary		= QGPL
> DefaultPackage		= A/DEFAULT(IBM),2,0,1,0,512
> AllowDataCompression		= 0
> LibraryView		= 0
> AllowUnsupportedChar		= 0
> ForceTranslation		= 0
> Trace		= 0

The /etc/odbc.ini is empty...

and here's the odbcinst.ini:

> # Example driver definitinions
> #
> #
> 
> # Included in the unixODBC package
> [PostgreSQL]
> Description	= ODBC for PostgreSQL
> Driver		= /usr/lib/libodbcpsql.so
> Setup		= /usr/lib/libodbcpsqlS.so
> FileUsage	= 1
> 
> 
> # From the MyODBC package
> #[MySQL]
> #Description	= ODBC for MySQL
> #Driver		= /usr/lib/libmyodbc.so
> #FileUsage	= 1



Thanks for all the help Nick!

Jonas




More information about the unixODBC-dev mailing list