Spec-Zone .ru
спецификации, руководства, описания, API

22.9.5. MySQL Native Driver (Mysqlnd)

22.9.5.1. Overview
22.9.5.2. Installation
22.9.5.3. Runtime Configuration
22.9.5.4. Incompatibilities
22.9.5.5. Persistent Connections
22.9.5.6. Statistics
22.9.5.7. Notes
22.9.5.8. MySQL Native Driver Plugin API

Copyright 1997-2012 the PHP Documentation Group.

MySQL Native Driver is a replacement for the MySQL Client Library (libmysqlclient). MySQL Native Driver is part of the official PHP sources as of PHP 5.3.0.

The MySQL database extensions MySQL extension, mysqli and PDO MYSQL all communicate with the MySQL server. In the past, this was done by the extension using the services provided by the MySQL Client Library. The extensions were compiled against the MySQL Client Library in order to use its client-server protocol.

With MySQL Native Driver there is now an alternative, as the MySQL database extensions can be compiled to use MySQL Native Driver instead of the MySQL Client Library.

MySQL Native Driver is written in C as a PHP extension.