Skip to Content.
Sympa Menu

freetds - [freetds] can't connect

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris parent <kireol AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] can't connect
  • Date: Mon, 7 Mar 2005 12:21:31 -0800 (PST)

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




Archive powered by MHonArc 2.6.24.

Top of Page