[freetds] Named Instances
James K. Lowden
jklowden at freetds.org
Tue Dec 18 17:13:01 EST 2007
Patrick Corbett wrote:
> Yes, very close... I'm on a windows machine, do you think I need to
> download a specific build of php for this?
No, no. I guess I wasn't clear.
> On 12/18/07, James K. Lowden <jklowden at freetds.org> wrote:
> > You can just change your freetds.conf thus:
> >
> > - host = abc.adomain.com
> > + host = a.b.c.d
> >
> > where a.b.c.d is the internal address you want to connect to. That's
> > valid.
This is just a matter of getting your freetds.conf right. You should test
it with tsql -- it works on Win32, yes? -- before you try PHP.
Just put your dataserver's IP address (4 numbers, no port) on your "host"
line. I think that's all you'll need to get yourself connected.
(I knew it was a Windows box by the logfile name and the fact that
connect(2) showed a failure in the log without a valid error code.)
What you have here is pilot error. But you can blame Windows if you like.
Why not? ;-)
--jkl
More information about the FreeTDS
mailing list