Forum Moderators: coopster
MySQL Native Driver [php.net] is a replacement for the MySQL Client Library (libmysql). MySQL Native Driver is part of the official PHP 5.3 and PHP 6 branches.
There are some neat features coming in the PHP 5.3 release when it comes to MySQL support, including 3 new statistical functions that are going to be quite helpful in troubleshooting and tweaking applications that use MySQL.
Thanks coopster for the head up.
What it is notAlthough MySQL Native Driver is written as a PHP extension, it is important to note that it does not provide a new API to the PHP programmer. The programmer APIs for MySQL database connectivity are provided by the MySQL extension, mysqli and PDO MYSQL. These extensions can now use the services of MySQL Native Driver to communicate with the MySQL Server. Therefore, you should not think of MySQL Native Driver as an API.
The driver is set up at compile time (and in Windows it is the default in PHP 5.3 and PHP 6). You keep using the same APIs and functions, your classes and use of functions does not change. The API functions are different than the driver itself.
The left hand navigation on the manual page linked has further reading, particularly the Overwiew and the Installing/Configuring links are worthwhile reading at the very least.