ODBC Setup problems (SQLGetPrivateProfileString failed with Unable to find component)
I am having issues setting up ODBC to connect to my Azure SQLServer database.
I had a Petra (16) installation on my laptop that had ODBC setup for this purpose. Recently, I did a fresh install of Mint 17 and upgraded to 17.1 on the same laptop. Then I setup ODBC the same way as I had working on Petra. But this time I got errors. As the ODBC version was an old one, I uninstalled it and installed the latest ODBC pacakge (2.3.2) using ./configure and make install. Re-did all the setups and still same problems. I have setup below:
set up below variables in /etc/environment: Code:
ODBCINI="/etc/odbc.ini" Code:
>>odbcinst -i -d -f tds.driver.template Code:
>>odbcinst -q -s Code:
>>odbcinst -j Code:
>>odbcinst -q -d Code:
>>TDSVER=8.0 tsql -H <server> -U <usr> -D <database> -p 1433 -P <pwd> Code:
>>isql -v ms-sql <usr> <pwd> Any pointers to resolve this will be greatly appreciated!! Thanks in advance. |
Dear all, PLEASE help! :(
|
Hello
Notice in the blanks, at the beginning of the lines, in the odbcinst.ini file.
the blanks may be causing that error Incorrect: ---[FreeTDS] ---Description = FreeTDS ---Driver = /var/www/html/installers/libtdsodbc.so Correct: [FreeTDS] Description = FreeTDS Driver = /var/www/html/installers/libtdsodbc.so |
All times are GMT -5. The time now is 11:50 AM. |