Activating the mysql_clear_password plugin
| From: | Pierre-Gildas MILLON | Date: | Wed, 26 Sep 2012 16:29:38 +0000 |
| Subject: | Activating the mysql_clear_password plugin | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319280@lists.php.net to get a copy of this message | ||
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