note 114453 added to ref.pdo-sqlsrv.connection

From: Date: Fri, 21 Feb 2014 19:34:31 +0000
Subject: note 114453 added to ref.pdo-sqlsrv.connection
Groups: php.notes 
Request: Send a blank email to php-notes+get-198588@lists.php.net to get a copy of this message
I suspect the problem with "Server=foo-sql\MSSQLSERVER" was you didn't escape the backslash, with a backslash. If hostname worked, than IP would work as well given a hostname resolves to an IP unless your DNS was mapping to the wrong IP which would be a simple issue. I suspect you are running your web services on the same host as mssql? If so, confirm that your mssql server is set to bind to IP addresses (if you want access from the outside of that box). If you are only able to connect via a name (as in a NetBIOS or Active Directory name), it's likely you are connecting to a "socket" or named pipe. ---- Server IP: 92.48.119.85 Probable Submitter: 99.25.214.14 ---- Manual Page -- http://php.net/manual/en/ref.pdo-sqlsrv.connection.php Edit -- https://master.php.net/note/edit/114453 Del: integrated -- https://master.php.net/note/delete/114453/integrated Del: useless -- https://master.php.net/note/delete/114453/useless Del: bad code -- https://master.php.net/note/delete/114453/bad+code Del: spam -- https://master.php.net/note/delete/114453/spam Del: non-english -- https://master.php.net/note/delete/114453/non-english Del: in docs -- https://master.php.net/note/delete/114453/in+docs Del: other reasons-- https://master.php.net/note/delete/114453 Reject -- https://master.php.net/note/reject/114453 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198588) next »