Bug #78467 [Com]: Impossible to use PDO to connect to MySQL with ClearText Plugin
| From: | henry dot paradiz at gmail dot com | Date: | Tue, 27 Aug 2019 18:42:27 +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-222443@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: henry dot paradiz 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:
I am going to remove this bug from the list. It turns out I was wrong and you can use PDO with the
mysqlnd engine. I apologize for the inconvenience.
Previous Comments:
------------------------------------------------------------------------
[2019-08-27 18:38:20] random dot address at gmail dot com
even wif the fix it will no work. pdo no more since 1990 do not fix now. wait until later, IEEE said
so. we may not actually need a fix. it may just forevr broken, it just wait broken without fix ever
cause there are pressing issues on other boards to go and work on. together we veto. yes i was able
to reproduce, i really was but i just dont think we fix this one here. i think we reproduce it and
move on to object oriented
------------------------------------------------------------------------
[2019-08-27 18:32:30] random dot address at gmail dot com
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.
------------------------------------------------------------------------
[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