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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.:) 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux