- MySQL知识库 :: c
- Do the mysql and mysqli extensions (the PHP MySQL APIs) work with the new features in MySQL 5.0?
-
Discussion
The old mysql extension for APIs (e.g., PHP API) can work with MySQL 5.0, but does not support the new authentication protocol (implemented in MySQL version 4.1), prepared statements (starting with MySQL 4.1), cursors, or multiple result sets. Only the new mysqli extension (begining with PHP 5.0) covers and supports all features of MySQL 4.1 and 5.0.
For more information on PHP please see the external resources link in the margin.