note 75349 added to function.mssql-connect

From: Date: Fri, 25 May 2007 04:04:49 +0000
Subject: note 75349 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-126882@lists.php.net to get a copy of this message
A small problem I had when connecting to SQL 2000 Ent named instance (from W2003 Std, IIS6, PHP5). I had to supply the instance name AND port $sql = mssql_connect ("SERVER\INSTANCE,PORT", "username", "password") And also add registry entry as per previous comments: HKEY_LOCAL_MACHINE \SOFTWARE\ Microsoft\ MSSQLServer\ Client\ ConnectTo: "SERVER\INSTANCE"="DBMSSOCN,SERVER\INSTANCE,PORT" (Just export the key from a PC with SQL client tools) ---- Server IP: 203.202.10.60 Probable Submitter: 202.134.34.18 ---- Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php Edit -- https://master.php.net/note/edit/75349 Del: integrated -- https://master.php.net/note/delete/75349/integrated Del: useless -- https://master.php.net/note/delete/75349/useless Del: bad code -- https://master.php.net/note/delete/75349/bad+code Del: spam -- https://master.php.net/note/delete/75349/spam Del: non-english -- https://master.php.net/note/delete/75349/non-english Del: in docs -- https://master.php.net/note/delete/75349/in+docs Del: other reasons-- https://master.php.net/note/delete/75349 Reject -- https://master.php.net/note/reject/75349 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126882) next »