Skip to Content.
Sympa Menu

freetds - RE: [freetds] can't connect

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Simon Matthews <sam AT knowledgepool.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] can't connect
  • Date: Tue, 8 Mar 2005 17:35:11 -0000

Have you checked what port SQL server is running on. Can you telnet from
the Linux box to the SQL server port on the database machine?

S


> -----Original Message-----
> From: Chris parent [mailto:kireol AT yahoo.com]
> Sent: 07 March 2005 20:22
> To: freetds AT lists.ibiblio.org
> Subject: [freetds] can't connect
>
>
> Hi all.
>
> I ran into a bit of trouble. I've been running
> freetds fine for a few months.Over the weekend, our
> server room lost power. So our Windows (sql server)
> and Linux (php dev box including freetds) both went
> down and rebooted. So I started everything back up
> (yes, I'm the developer and the sys admin hehehe)
>
> now my php isnt connecting.
> ------------------------------------------------------
> $conn =
> mssql_connect('server','abstract\mylogin','mypass');
>
> mssql_connect(): Unable to connect to server: server
> in /var/www/html/getfile.php on line 21
> ------------------------------------------------------
>
> however, tsql is connecting just fine.
> ------------------------------------------------------
> tsql -S server -U 'abstract\mylogin' -P 'mypass'
> ------------------------------------------------------
>
> I'm racking my brain trying to figure out why this
> thing isn't running. Any ideas? everything else
> appears to be running just fine on my box.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/free> tds
>



  • [freetds] can't connect, Chris parent, 03/07/2005
    • <Possible follow-up(s)>
    • RE: [freetds] can't connect, Simon Matthews, 03/08/2005

Archive powered by MHonArc 2.6.24.

Top of Page