> Can anyone give me an example of the unix odbc ini file - a
> copy of a real on would be preferable with an explanation of
> what the representation is...
On Solaris, CF uses an odbc.ini file to mimic the ODBC.INI registry key in
NT. It lists ODBC datasources and their settings. Here's an excerpt from
one:
[ODBC Data Sources]
cfsnippets=MERANT dBase/FoxPro Driver
cfx=MERANT dBase/FoxPro Driver
GlobalCorpDB=MERANT dBase/FoxPro Driver
otest1=MERANT Oracle 8 Driver
[ODBC]
Trace=0
TraceFile=/tmp/odbctrace.out
TraceDll=/opt/coldfusion/lib/odbctrac.so
InstallDir=/opt/coldfusion/odbc
[cfsnippets]
Description=ColdFusion CFML snippets
Database=/opt/coldfusion/database/cfsnippets
Driver=/opt/coldfusion/lib/CFdbf15.so
CreateType=FoxPro30
ExtensionCase=UPPER
[cfx]
Description=ColdFusion CFML examples
Database=/opt/coldfusion/database/cfexamples
Driver=/opt/coldfusion/lib/CFdbf15.so
CreateType=FoxPro30
ExtensionCase=UPPER
[GlobalCorpDB]
Description=ColdFusion CFML examples
Database=/opt/coldfusion/database/cfexamples/GlobalCorpDB
Driver=/opt/coldfusion/lib/CFdbf15.so
CreateType=FoxPro30
ExtensionCase=UPPER
[otest1]
Description=Oracle Test w/ODBC
ServerName=ORACLE
Driver=/opt/coldfusion/lib/CFor815.so
Enjoy!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.