News Feed
Jobs Feed
Sections

Recent Jobs

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



Similar Posts

Christopher Jones' Blog: New PDO_OCI Attributes

Stefan Mischook's Blog: Database driven websites article: updated and now in PDF format.

Christopher Jones' Blog: Installing Oracle XE on Ubuntu with PHP

Ilia Alshanetsky's Blog: PHP 5.2 will feature libSQlite 3.3.7

Rob Allen's Blog: Simple Zend_Form File Upload Example


Community Events







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


code book releases database mysql security job release zend application zendframework developer cakephp conference package PHP5 ajax example PEAR framework

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