Hi
I got an issue connecting to sql server 2000 through odbc on my linux server...
The tech installed freetds and odbc stuff.
Here is what I have :
Error message :
Warning: odbc_connect() [function.odbc-connect]: SQL error: [FreeTDS][SQL Server]Read from SQL server failed., SQL state 08S01 in SQLConnect in...
DSN in odbc.conf :
[MSSQL]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Description = MSSQL
Trace = No
Server = 208.99.194.130
Database = ProWagSys
Port = 1433
Php code :
putenv('ODBCINI=/....Path..../odbc.conf');
$username="xxxx";
$password="xxxxxxxxxxxx";
$sqlconnect=odbc_connect("MSSQL",$username,$passwo rd);
The path to odbc.conf is right, username & password too, no problem there.
Please help me, starting to make me crazy
Guy