How to user mssql_connect to connect to a sql server other than on port 1433?

From: Date: Thu, 27 Oct 2005 04:29:12 +0000
Subject: How to user mssql_connect to connect to a sql server other than on port 1433?
Groups: php.windows 
Request: Send a blank email to php-windows+get-26441@lists.php.net to get a copy of this message
I am recently have a problem with the mssql_connection function: I have to connect to a sql server which it's service port has been modified other than 1433. How should I define the server address? I had tried those ways(suppose the port number:1111): 1. (local):1111 2. servername:1111 3. 127.0.0.1:1111 None of them worked. Thanks for your help.:)

« previous php.windows (#26441) next »