Re: Activating the mysql_clear_password plugin

Niel Archer <[email protected]>
Newsgroups gmane.comp.php.database
Message-ID <[email protected]>
Hi
> 
> You could try using mysqli_options(), but I do not know if that supports
> this setting yet. The PHP documentation does not mention it, and I am
> unable to test it myself at the moment.

Just occured to me, even if the setting is not directly supported yet, you
can create a separate configuration file for this setting the client to
use the plugin (enable-cleartext-plugin) then:

mysqli_options(MYSQLI_READ_DEFAULT_FILE,'myother.cnf');

to use those settings on the connection.


--
Niel Archer
niel.archer (at) blueyonder.co.uk


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.