News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
SQL Server Driver for PHP Connection Options Encrypt & Failover_Partner
March 11, 2011 @ 08:41:11

Brian Swan has posted two more in his "SQL Server Driver for PHP" series looking at some of the connection options that are available. In these two new articles he looks at the Failover_Partner and Encrypt options.

Database mirroring is primarily a software solution for increasing database availability. [...] When a PHP application connects to the primary server, the Failover_Partner connection option specifies the name of the server to which the application should connect if the primary server is not available.

[...] These two options, Encrypt and TrustServerCertificate, are often used together. The Encrypt option is used to specify whether or not the connection to the server is encrypted (the default is false). The TrustServerCertificate option is used to indicate whether the certificate on the SQL Server instance should be trusted (the default is false).

In both there's code examples showing the connection strings and what kinds of parameters you can pass to them. He also gives a few examples of scenarios when they might be useful.

0 comments voice your opinion now!
connect sqlserver driver option failoverpartner encyrpt trustservercertificate


blog comments powered by Disqus

Similar Posts

Ariz Jacinto's Blog: Compiling PHP with MSSQL Server's Native ODBC Driver for Linux as a PDO Driver

Dan Scott\'s Blog: ADOdb - getting good support for IBM DB2, Cloudscape, and Apache Derby

Internet Super Hero Blog: PHP 5.3: Persistent Connections with ext/mysqli

Christopher Jones' Blog: PHP OCI8 1.3.3 has gone "Production"

Dan Scott\'s Blog: ADOdb - getting good support for IBM DB2, Cloudscape, and Apache Derby


Community Events





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


introduction tips series laravel deployment library api symfony list package release interview community voicesoftheelephpant framework opinion install language podcast bugfix

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