[unixODBC-dev] Socket = yes with libodbcpsql.so.2

Oren Nechushtan oren at forescout.com
Mon Sep 12 08:02:05 BST 2005

The new libodbcpsql.so.2 version doesn't support 'Socket = yes'
The following error is thrown.

[oren at E1 CA50-SP1]$isql oren root
[ISQL]ERROR: Could not SQLConnect
[oren at E1 CA50-SP1]$isql -v oren root
[28000][unixODBC]Unexpected protocol character during authentication;
Error while reading from the socket.
[ISQL]ERROR: Could not SQLConnect

There seems to be a missing error handling here.

This is solved either by 
.Removing the Socket = yes
.Changing to Socket = <n>, e.g. n=4096
.Using the old driver.


More information about the unixODBC-dev mailing list