The modification of PDO_MYSQL to support the MySQL native driver
for PHP (mysqlnd) is progressing. We are using the project title
“PDO_MYSQLND” for the modification. The goal of PDO_MYSQLND is to
provide a PDO driver for MySQL which can be compiled either
against the MySQL Client Library or against the MySQL native
driver for PHP. This is the same type of modification we did with
ext/mysql and ext/mysqli already.
The use of any of the libraries is transparent for the PHP user.
You may continue to use the MySQL Client Library, like you do
today with PDO_MYSQL, or give mysqlnd a try. The MySQL native
driver for PHP (mysqlnd) is easier to compile as its tightly
integreated into the PHP internals and ships with PHP as of
version PHP 5.3. In case of ext/mysql and ext/mysqli our
benchmarks and first user feedback indicates that mysqlnd gives
you at least the same performance of libmysql. And sometimes it
is faster and more memory efficient. …
[Read more]