Re: [unixODBC-support] isql connection hangs

"Goyal, Pravin Shyam" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <95D24D994076904F8B79DB0C981F4F984B564A59BF@GVW0440EXB.americas.hpqcorp.net>
Thanks Nick. That means I am right. So something wrong in buildup of connection.

See guys if this is ok..

# pwd
/usr/local/etc
# cat odbcinst.ini
[FreeTDS]
Description = Pravin's TDS
Driver = /usr/local/lib/libtdsodbc.so
UsageCount = 3
# cat odbc.ini
[MSSQLTestServer]
Driver          = FreeTDS
Description             = Test SQL Swerver
Trace           = No
Server          = 16.138.74.27\BTHUYAVANA11
Port            = 1433
Database                = master

# isql -v MSSQLTestServer 'sa' 'Windows2003server'
<this hangs up>

Please help.

Thanks and regards,
Pravin Goyal


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Gorham
Sent: Thursday, June 18, 2009 12:41 PM
To: Support for the unixODBC project
Cc: [email protected]
Subject: Re: [freetds] [unixODBC-support] isql connection hangs

Goyal, Pravin Shyam wrote:
>
> Guys, I must admit that below happened:
>
>  
>
> # cat tds.driver.template
>
> Description = My tds - Pravin
>
> Driver = /usr/local/lib/libtdsodbc.so
>
> # find /usr/local -name libtdsodbc.so
>
> /usr/local/lib/libtdsodbc.so
>
> # odbcinst -i -d -f tds.driver.template
>
> odbcinst: iniOpen failed on tds.driver.template.
>
>  
>
> I created odbcinst.ini file myself under /usr/local/etc. Is this 
> breaking something or is there something wrong with the installation 
> of unixODBC or FreeTDS? I am not sure. Please help.
>

The fact you get the error with the invalid password shows that unixODBC 
is loading the driver, so I would guess its a driver issue.

-- 
Nick
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.