note 102851 added to function.mssql-connect
| From: | xhiena at gmail dot com | Date: | Thu, 10 Mar 2011 10:40:50 +0000 |
| Subject: | note 102851 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177733@lists.php.net to get a copy of this message | ||
After many attempts I managed to connect to a sqlserver with instances.
I can only connect if I put the port with the name of the instance don't let me.
$msServer = "SERVER_IP:PORT";
$msUser = "USER";
$msPass = "PASSWORD";
$s = mssql_connect($msServer, $msUser, $msPass)
with $msServer = "SERVER_IP\INSTANCE"; doesn't work.
with $msServer = "SERVER_IP\INSTANCE:PORT"; doesn't work.
----
Server IP: 80.64.47.13
Probable Submitter: 147.156.60.4
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- https://master.php.net/note/edit/102851
Del: integrated -- https://master.php.net/note/delete/102851/integrated
Del: useless -- https://master.php.net/note/delete/102851/useless
Del: bad code -- https://master.php.net/note/delete/102851/bad+code
Del: spam -- https://master.php.net/note/delete/102851/spam
Del: non-english -- https://master.php.net/note/delete/102851/non-english
Del: in docs -- https://master.php.net/note/delete/102851/in+docs
Del: other reasons-- https://master.php.net/note/delete/102851
Reject -- https://master.php.net/note/reject/102851
Search -- https://master.php.net/manage/user-notes.php