RE: [PHP-DB] ms sql connect
| From: | Mark Roedel | Date: | Mon, 06 Aug 2001 13:17:02 +0000 |
| Subject: | RE: [PHP-DB] ms sql connect | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11092@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Sommai Fongnamthip [mailto:sommai@thaithanakit.co.th]
> Sent: Monday, August 06, 2001 2:45 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] ms sql connect
>
>
> Hello,
> I'd like to use MS SQL 6.5 on NT from PHP-4.0.6 from Linux.
> I was config FreeTDS (use ver 4.2) and setup interfaces file
> already. I'm still cannot login to MS SQL 6.5.
>
> [snip]
>
> interface file in /usr/local/freetds
> myserver
> query tcp tds4.2 127.0.0.1 1433
> master tcp tds4.2 127.0.0.1 1433
Is '127.0.0.1' actually what you have in your file, or is that just a
placeholder because you don't want to give out the real IP? (If that's
actually what's in the file, then FreeTDS will be trying to connect to a
copy of MS SQL Server running on your Linux box, which seems like sort
of a futile exercise. Try changing it to the IP of the NT machine.)
---
Mark Roedel | "The most overlooked advantage to owning a
Systems Programmer | computer is that if they foul up there's no
LeTourneau University | law against whacking them around a little."
Longview, Texas, USA | -- Owen Porterfield