[unixODBC]Client unable to establish connection
| From: | Nabil | Date: | Wed, 30 Jul 2003 10:04:50 +0000 |
| Subject: | [unixODBC]Client unable to establish connection | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29572@lists.php.net to get a copy of this message | ||
I got the follwing error when i try to use isql -v .... or in my php code
thet looks like
$hh= odbc_connect('DSNname','user','password') or die(odbc_error());
[unixODBC]Client unable to establish connection
[ISQL]ERROR: Could not SQLDriverConnect
I have FreeTDS compiled --with-unixodbc and i tested the connection :
bash> tsql DSNname -S 192.168.0.1 -U user -P pass
and i got connected... and i tried telnet 192.168.0.1 1433 and i managed too
SO what do u think the prblem is?
--
Nabil Attar
Advanced Web Solutions
/***
Everyone is a beginner once, and no one is an expert at everything.
***/