[unixODBC-support] [unixODBC][FreeTDS][SQL Server]Unexpected EOF from the server

Nick Gorham nick at lurcher.org
Thu May 5 01:37:41 BST 2011


On 04/05/2011 20:30, Dave Dumaresq wrote:
> Greetings, I have freeTDS and unixODBC installed on Ubuntu 10.10, and 
> I'm connecting to an SQL Server 2005 host on port 1433 running on a 
> vista box.
>
> tsql works fine; however, isql fails with a final error message 
> 'Unexpected EOF from the server'
>
> $ sudo isql -v dsn_myvista
> [S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
> [01000][unixODBC][FreeTDS][SQL Server]Adaptive Server connection failed
> [01000][unixODBC][FreeTDS][SQL Server]Unexpected EOF from the server
> [ISQL]ERROR: Could not SQLConnect
>
> The logs (below) seem to show that during the connection to 
> [dsn_myvista] the User Name and Authentication are NULL.
> Any suggests about what might be wrong?

I don;t know if the freetds driver reads user and password from the ini 
file, you could try addingthem when you call isql

isql -v dsn user pass

-- 
Nick


More information about the unixODBC-support mailing list