Skip to Content.
Sympa Menu

freetds - Re: [freetds] Unable to connect: Adaptive Server is unavailable or does not exist

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Robert Gonzalez <robert AT robert-gonzalez.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Unable to connect: Adaptive Server is unavailable or does not exist
  • Date: Wed, 9 Jun 2010 19:10:20 -0700

I've posted a few links to this list about how I got PHP to talk to SQL
Server on Fedora and Ubuntu Linux. There are some things to watch out for
when doing this. Little things that, if you're not careful, can bite you in
the butt and leave you scratching your head for a while.

On Wed, Jun 9, 2010 at 5:04 PM, Chris Adams <chris.a.adams AT state.or.us>wrote:

> I would like to thank those that replied to my requests for help. I was
> finally able to get the connection between servers and do some command line
> querying. The issue was related to the password, but I am not sure exactly
> why.
>
> Anyway, I will try building some query interface pages in php to see how it
> works. Is there anything that I need to know about how freetds plays with
> php? I have read that some compile php with freetds. Is that necessary?
>
> Thanks again.
>
> Christopher Adams
>
> > -----Original Message-----
> > From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> > bounces AT lists.ibiblio.org] On Behalf Of Daniel Fazekas
> > Sent: Wednesday, June 09, 2010 10:38 AM
> > To: FreeTDS Development Group
> > Subject: Re: [freetds] Unable to connect: Adaptive Server is
> > unavailable or does not exist
> >
> > On Jun 9, 2010, at 19:27, Chris Adams wrote:
> >
> > > I ran it again using port 1433 and here is the log:
> > > 0000 aa 5a 00 18 48 00 00 01-0e 24 00 4c 00 6f 00 67 |.Z..H...
> > .$.L.o.g|
> > > 0010 00 69 00 6e 00 20 00 66-00 61 00 69 00 6c 00 65 |.i.n. .f
> > .a.i.l.e|
> > > 0020 00 64 00 20 00 66 00 6f-00 72 00 20 00 75 00 73 |.d. .f.o .r.
> > .u.s|
> > > 0030 00 65 00 72 00 20 00 27-00 75 00 6e 00 69 00 78 |.e.r. .'
> > .u.n.i.x|
> > > 0040 00 63 00 6f 00 6e 00 6e-00 65 00 63 00 74 00 27 |.c.o.n.n
> > .e.c.t.'|
> > > 0050 00 2e 00 03 43 00 55 00-4c 00 00 01 00 fd 02 00 |....C.U.
> > L.......|
> > > 0060 00 00 00 00 00 00 - |......|
> >
> > So the server said:
> > Login failed for user 'unixconnect'
> >
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



--
Robert Gonzalez
http://www.robert-gonzalez.com
http://twitter.com/RobertGonzalez
http://www.linkedin.com/in/robertanthonygonzalez




Archive powered by MHonArc 2.6.24.

Top of Page