Bug #78467 [Com]: Impossible to use PDO to connect to MySQL with ClearText Plugin
| From: | random dot address at gmail dot com | Date: | Tue, 27 Aug 2019 18:32:30 +0000 |
| Subject: | Bug #78467 [Com]: 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-222441@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
Comment by: random dot address at gmail dot 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:
This is error which real for all. Must do sumthing now. Without fix it crash and burn. we no like a
that. we mwust do it now it is the time has called.
Previous Comments:
------------------------------------------------------------------------
[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