Bug #78467 [PATCH]: Impossible to use PDO to connect to MySQL with ClearText Plugin
| From: | henry.paradiz@gmail.com | Date: | Thu, 03 Oct 2019 20:52:52 +0000 |
| Subject: | Bug #78467 [PATCH]: Impossible to use PDO to connect to MySQL with ClearText Plugin | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223033@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78467&edit=1
ID: 78467
Patch added by: henry.paradiz@gmail.com
Reported by: henry dot paradiz at gmail dot com
Summary: Impossible to use PDO to connect to MySQL with
ClearText Plugin
Status: Open
Type: Bug
Package: PDO MySQL
Operating System: Any
PHP Version: 7.1.31
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: protect master branches except for the pecl repos against force pushes
On GitHub: https://github.com/php/karma/pull/4
Patch: https://github.com/php/karma/pull/4.patch
Previous Comments:
------------------------------------------------------------------------
[2019-08-27 19:22:02] nikic@php.net
I've deleted the comments.
------------------------------------------------------------------------
[2019-08-27 19:15:53] henry dot paradiz at gmail dot com
Someone guessed the password for this bug and posted a bunch of crap above. The comment above this
one isn't mine. I have generated a random password for this bug so please disregard the clowns
above. Thanks.
------------------------------------------------------------------------
[2019-08-27 18:05:49] henry dot paradiz at gmail dot com
Description:
------------
AWS has a method of providing access to a database by using their SDK to provision a temporary
password with a 15 minute life time. This authentication method requires the MySQL clear text
plugin. With the MySQL CLI client this is turned on by providing the CLI switch
--enable-cleartext-plugin
It is currently impossible to use PDO with the mysqlnd engine to facilitate this type of connection.
More details here:
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.AWSCLI.html
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78467&edit=1