Could not find Database parameter, SQLSTATE=08001

Paivi salonenp at scc-fl.com
Fri Nov 30 13:54:18 EST 2001


i have compiled freetds with these parameters:
./configure --prefix=/usr/local/freetds --with-iodbc=/usr/local/iodbc
--with-dbmfix --with-tdsver=4.2

i have also tried without the dbmfix and tdsver but received the same
results

the server is redhat7.1 connecting to mssql running on windows 2000. i can
use iodbc drivers but they dont support unicode. so i decided to give
freetds a try.

with iodbc's odbctest script i can see the dsn list and connect to the
sample JDBC.. but for some reason neither of our mssql servers is
responding, instead i get "Could not find Database parameter,
SQLSTATE=08001"

freetds.conf looks like this:
[IVR2]
	host = 192.168.11.8
	tds version = 7.0
	try server logins = yes
	port = 1433

the rest of the stuff is in odbc.ini:
[IVR2]
Driver          = /usr/local/freetds/lib/libtdsodbc.so
#Host            = 192.168.11.8
Database        =catalog
FetchBufferSize = 99
UID             = username
PWD             = password
Trace           = no

The question is, what am i doing wrong?

Paivi



More information about the FreeTDS mailing list