Well, i just don't know.

While programming, scripts were on server3, there i have iis + sql 7. There
i just used mssql_connect("server3","login","password") where server3 is the
name of the sql server on server3 machine, and server3 is the connection
parameter associated with multiprotocol shown by the SQL Server Network
utility.
When connecting to a remote machine i thought i would only put
server2.domain.com + login + password

How could i make a connection using tcp/ip or named pipes? Which one is
better?
For TCP/IP it is just server2.domain.com:PORT ? I'll ask what's the port
being used.

With the SQL Server Enterprise Manager i could make a connection from
server3 to server2 just by using server2.domain.com and then providing the
login + password i used on the mssql_connect function

Thanks.

Carlos André Marques Moreira 
[EMAIL PROTECTED] 
Bolsista CNPq / RHAE 
SENAI-CE/CETAE 

2001 Ano Internacional do Voluntário



-----Original Message-----
From: Svensson, B.A.T. [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 14 de maio de 2001 16:46
To: Carlos Andre Marques Moreira; '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] mssql_connect


[...]

>Warning:MS SQL: Unable to connect to server: server2.domain.com

Just grabbing in the air (since there are few hints about the
problem): but are you using named pipes or TCP/IP? Are you
allowed to communicate over the network with the protocol
you are using?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to