Monday, April 16, 2012

Freetds problem: odbcinst: SQLGetPrivateProfileString failed with .


Problem:
bash-3.2# odbcinst -q -s

odbcinst: SQLGetPrivateProfileString failed with .

Solution:

bash-3.2# ODBCINI=/local/umdac/home/platsbanken/.odbc.ini
bash-3.2# odbcinst -j
unixODBC 2.3.0
DRIVERS............: /usr/local/etc/odbcinst.ini
SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini
FILE DATA SOURCES..: /usr/local/etc/ODBCDataSources
USER DATA SOURCES..: //.odbc.ini
SQLULEN Size.......: 4
SQLLEN Size........: 4
SQLSETPOSIROW Size.: 2
bash-3.2# export ODBCINI




bash-3.2#  odbcinst -q -s
[MSSQLServer]
[MSSQLAnother]
bash-3.2#

No comments:

Post a Comment