ZF-103: MySQLi vs PDO MySQL: Manual for DB Adapters should recommend use of PDO version over MySQLi Adapter (TRAC#103)

Issue Type: Docs: Improvement Created: 2006-06-21T21:52:08.000+0000 Last Updated: 2007-07-05T14:44:28.000+0000 Status: Closed Fix version(s): - 0.2.0 (29/Oct/06)

Reporter: Zend Framework (zend_framework) Assignee: Gavin (gavin) Tags: - Zend_Db

Related issues: Attachments:


Not all PHP installations have PDO support.

However, if available, the PDO adapter for MySQL should be used, since it offers better performance, the benefits of true prepared queries (no emulation required), and has more stable code than the MySQLi adapter.


Posted by Gavin (gavin) on 2006-07-07T18:25:34.000+0000

I think the MySQLi adapter should be moved to the incubator. Significant work needs to be done on it, before it is ready for use.

Posted by Gavin (gavin) on 2006-07-07T18:49:28.000+0000

All agreed. MySQLi adapter moves to incubator for 0.1.5 release.

Posted by Gavin (gavin) on 2006-10-25T12:39:54.000+0000

PHP PDO code has proven to be no more reliable than mysqli driver in practice.

Posted by Gavin (gavin) on 2006-10-25T12:40:30.000+0000

Note that "mysqli driver" is the not the same thing as ZF's mysqli adapter.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.