Activating the mysql_clear_password plugin
| From: | Pierre-Gildas MILLON | Date: | Thu, 27 Sep 2012 12:08:35 +0000 |
| Subject: | Activating the mysql_clear_password plugin | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-48540@lists.php.net to get a copy of this message | ||
Hi everyone,
I need to use the mysql_clear_password plugin.
I'm using the CentOS php 5.3.3 and manually recompiled the mysql & mysqli extensions with the Oracle MySQL 5.5 libraries.
According to the MySQL documentation ( http://dev.mysql.com/doc/refman/5.5/en/cleartext-authentication-plugin.html), I need to either set the LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN or set the MYSQL_ENABLE_CLEARTEXT_PLUGIN option to the mysql client.
I tried to set the LIBMYSQL_ENABLE_CLEARTEXT_PLUGIN via a SetEnv in Apache with no results.
Could anyone help me setting the MYSQL_ENABLE_CLEARTEXT_PLUGIN option to the mysql client ?
Regards,
Pierre-Gildas MILLON
pg.millon@gmail.com