I suggest a new use flag that would allow to compile against the mysqlnd driver. See http://dev.mysql.com/downloads/connector/php-mysqlnd/ for details. Reproducible: Always Steps to Reproduce:
This still is beta, plus we'd rather wait once it's merged upstream, as noted on the page: <snip> During the early stage of the development we will offer it from MySQL. As soon as mysqlnd is feature complete and production ready we will move it to the PHP project CVS repository on http://cvs.php.net. </snip> Since it doesn't seem likely this could be packaged as a separate ebuild and essentially requires replacing mysqli support in PHP with mysqlnd, I'm marking this LATER. Thanks.