News Feed
Jobs Feed
Sections




News Archive
Ligaya Turmelle's Blog:
SQL Server DNS
December 14, 2006 @ 16:10:00

Working with multiple databases in your scripts can be a pain at times as Ligaya Turmelle found out in getting a PDO connection working to a SQL Server in one of her scripts.

My DSN just was not right and wouldn't play - my host string was off and any permutation I used wasn't working. Looked at the PDO docs, the DSN docs in the manual, connectionstrings.com and no love.

Her final fix involved setting up an "instance" of her SQL server to point to the host. Her code is included.

0 comments voice your opinion now!
sqlserver pdo connect database example dsn sqlserver pdo connect database example dsn


blog comments powered by Disqus

Similar Posts

Internet Super Hero Blog: mysqlnd to support PDO, mysqlnd in PHP 5.3

Andreas Gohr's Blog: Determine StumbleUpon Rankings

Ant Phillips' Blog: PHP/Groovy Bridge

David Goodwin's Blog: Storing PHP objects in a database (please no!)

Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2


Community Events











Don't see your event here?
Let us know!


introduction symfony2 series language development functional unittest usergroup rest framework community podcast interview testing zendframework2 release phpunit conference opinion database

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework