Home » Database » DB_DataObject » Bug #6946
Mysqli SSL Documentation Request
Details
| Doc Bug #6946 | Mysqli SSL Documentation Request |
|---|---|
| Submitted | 2006-02-27 06:51 UTC |
| From | ahayes at wcg dot net dot au |
| Assigned | saltybeagle |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | 5.0.4 |
| OS | Fedora 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);