|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55870 PDO ignores all SSL parameters when used with mysql native driver
Submitted: 2011-10-08 00:36 UTC Modified: 2011-10-08 11:54 UTC
From: pawel at prochot dot co dot uk Assigned: pajoye (profile)
Status: Closed Package: PDO related
PHP Version: 5.3.8 OS: Independent
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
34 + 21 = ?
Subscribe to this entry?

 [2011-10-08 00:36 UTC] pawel at prochot dot co dot uk
PDO (MySQL) mysql_driver.c has two spelling errors causing SSL related 
configuration to be ignored. The spelling mistakes occur in conditional 
statements responsible for running code initialising and later processing of 
those parameters.

File: php-5.3.8/ext/pdo_mysql/driver.c
Line 628 contains "PDO_USE_MYSLQND" note mySLQnd instead of mySQLnd. The same 
happens in line 715

Affected versions at least 5.3.7 and 5.3.8.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-08 06:16 UTC]
Automatic comment from SVN on behalf of pajoye
Log: - fix bug #55870, PDO ignores all SSL parameters when used with mysql native driver
 [2011-10-08 06:17 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye
 [2011-10-08 06:17 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

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 10:01:28 2024 UTC