note 66917 added to ref.pdo-dblib

From: Date: Thu, 01 Jun 2006 04:24:45 +0000
Subject: note 66917 added to ref.pdo-dblib
Groups: php.notes 
Request: Send a blank email to php-notes+get-112705@lists.php.net to get a copy of this message
To connect to SQL Server 2005 Express on Windows, do it like this: $pdo = new PDO ('mssql:host=localhost,1433;dbname=[redacted]', '[redacted]', '[redacted]'); localhost localhost\SQLEXPRESS localhost\1433 localhost:1433 will not work on Windows. localhost,1433 does work. YMMV on other OS's; try each. Also make sure your TCP/IP Properties -> IP Addresses are correct under SQL Server Configuration Manager. ---- Server IP: 210.55.230.121 (proxied: 202.89.36.242 1.0 proxy4.akl1.maxnet.net.nz:8080 (Squid/2.4.STABLE2)) Probable Submitter: 203.109.154.193 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.pdo-dblib.php Edit -- http://master.php.net/note/edit/66917 Del: integrated -- http://master.php.net/note/delete/66917/integrated Del: useless -- http://master.php.net/note/delete/66917/useless Del: bad code -- http://master.php.net/note/delete/66917/bad+code Del: spam -- http://master.php.net/note/delete/66917/spam Del: non-english -- http://master.php.net/note/delete/66917/non-english Del: in docs -- http://master.php.net/note/delete/66917/in+docs Del: other reasons-- http://master.php.net/note/delete/66917 Reject -- http://master.php.net/note/reject/66917 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112705) next »