PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #6946

Mysqli SSL Documentation Request

Details

Doc Bug #6946Mysqli SSL Documentation Request
Submitted2006-02-27 06:51 UTC
Fromahayes at wcg dot net dot au
Assignedsaltybeagle
StatusClosed
PackageDB_DataObject
PHP Version5.0.4
OSFedora Core 4
Roadmaps(Not assigned)

Comments

[2006-02-27 06:51 UTC] ahayes at wcg dot net dot au

Description:
------------
It would be nice to have documentation on howto connect to a mysqli ssl enabled host.

Something as simple as the following would probably be enough.

database = "mysqli://user:password@host/db?key=client-key.pem&cert=client-cert.pem&ca=cacert.pem"

And then mentioning that you must set the DB options to ssl = true as follows:

$DB = &PEAR::getStaticProperty("DB", "options");
$DB = array('ssl' => true);