|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48587 MySQL PDO driver doesn't support SSL connections
Submitted: 2009-06-17 15:55 UTC Modified: 2011-04-15 16:32 UTC
Avg. Score:4.8 ± 0.6
Reproduced:42 of 46 (91.3%)
Same Version:18 (42.9%)
Same OS:23 (54.8%)
From: michael dot stringer at yuuguu dot com Assigned: rrichards (profile)
Status: Closed Package: PDO related
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2009-06-17 15:55 UTC] michael dot stringer at yuuguu dot com
The mysqli driver supports connecting to MySQL databases using SSL certificates via the ssl_set command (which in turn calls the native client ssl_set function).

Please add this functionality to the PDO driver. This is currently preventing us from switching from the mysqli APIs to PDO.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-24 13:29 UTC]
-Type: Bug +Type: Feature/Change Request
 [2010-03-31 00:41 UTC]
-Assigned To: +Assigned To: pollita
 [2010-06-13 14:46 UTC]
-Assigned To: pollita +Assigned To: mysql
 [2010-10-28 09:46 UTC]
5.2 is closed,

 The PHP development team would like to announce the immediate availability of PHP 5.2.14. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, some of which are security related.

This release marks the end of the active support for PHP 5.2. Following this release the PHP 5.2 series will receive no further active bug maintenance. Security fixes for PHP 5.2 might be published on a case by cases basis. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3
 [2011-02-09 15:51 UTC]
-Status: Assigned +Status: Feedback
 [2011-02-09 15:51 UTC]
5.2.* only? If yes, then this will be won't fix.
 [2011-02-09 16:04 UTC] michael dot stringer at yuuguu dot com
-Status: Feedback +Status: Assigned -PHP Version: 5.2.9 +PHP Version: *
 [2011-02-09 16:04 UTC] michael dot stringer at yuuguu dot com
As of version 5.3.5 this still hasn't been implemented so it is not limited to 5.2.*
 [2011-04-15 16:24 UTC]
Automatic comment from SVN on behalf of rrichards
Log: Implement FR #48587 (MySQL PDO driver doesn't support SSL connections)
 [2011-04-15 16:32 UTC]
-Status: Assigned +Status: Closed -Assigned To: mysql +Assigned To: rrichards
 [2011-04-15 16:32 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 22:01:32 2024 UTC