There is not much difference at the PHP language level.
- libmysqlclient, distributed by MySQL, mysqlnd, distributed by PHP.
- libmysqlclient is part of MySQL, you need to install the MySQL library.
- Their license is different.
- mysqlnd supports many plugins (mysqlnd_ms and mysqlnd_qc and ...).
- Since mysqlnd is part of PHP, its memory may be limited by the configuration of PHP.
- mysqlnd is the default after 5.4
http://php.net/manual/en/mysqlinfo.library.choosing.php
source
share