ZF-48: MySQLi: Zend_Db_Adapter_MySQLi implementation incomplete (non functional) (TRAC#54)

Issue Type: Bug Created: 2006-06-20T00:48:09.000+0000 Last Updated: 2007-07-05T14:44:27.000+0000 Status: Closed Fix version(s): - 0.2.0 (29/Oct/06)

Reporter: Zend Framework (zend_framework) Assignee: Mark Evans (sparky) Tags: - Zend_Db

Related issues: - ZF-381



Note: The MySQLi adapter uses the mysqli driver ( instead of the driver used by PDO (…

From: Mike Naberezny mike.n@xxxxxxxx Date: Wed, 19 Apr 2006 14:27:35 -0700

Rui Barreiros wrote:

    While i was playing around with Zend_Db_Table, i noticed that the Mysqli Adapter has a 'bug' ? It requires Zend_Db_Adapter_Interface and extends it, but it doesn't exist :)

    Can someone please inform if this is actually a bug ?

Hi Rui,

This is a known bug and will be fixed before the next release.

Thanks, Mike


Posted by Zend Framework (zend_framework) on 2006-06-20T00:48:22.000+0000

05/16/06 12:30:31: Modified by anonymous

$db = Zend_Db::factory('Mysqli', $params);

Warning: require_once(Zend/Db/Adapter/Interface.php) [function.require-once]: failed to open stream: No such file or directory in C:\Root\Logins\login_Zend\Zend\Db\Adapter\Mysqli.php on line 35

copy Interface.php -> Zend/Db/Adapter/ :

Fatal error: Cannot redeclare class zend in C:\Root\Logins\login_Zend\Zend\Db\Adapter\Zend.php on line 35

i use new "Mysqli" , i not use "Mysql" help me please i not use pdoMysql, i preferer Mysqli

thanks 05/16/06 15:15:36: Modified by gavin

* owner changed from zend to darby.

Posted by Gavin (gavin) on 2006-06-29T19:41:47.000+0000

Please use the PDO adapter for MySQL. The PDO adapter offers superior features and performance.

Posted by Gavin (gavin) on 2006-07-09T12:01:12.000+0000

Also see [ZF-103].

Posted by Superbiji (superbiji) on 2006-07-12T03:57:52.000+0000

Please enable mysqli feature as I'm using PHP 5.0.4 which no PDO included...

Posted by Mark Evans (sparky) on 2006-07-12T11:17:02.000+0000

Hi Gavin

Thanks, I will commit my changes to the incubator and we can then move it back to core if its agreed.

Posted by Gavin (gavin) on 2006-07-12T12:20:41.000+0000

Superbiji, 5.0.4 is not supported with Zend Framework 0.1.5 and future releases. Please upgrade to at least PHP 5.1.4, which includes PDO by default.

Posted by Gavin (gavin) on 2006-10-25T12:44:10.000+0000

Please help Eugene by "svn update" and testing, suggesting improvements, and reviewing code for the all new mysqli adapter. We need help writing unit tests.

Posted by Gavin (gavin) on 2006-10-25T12:44:57.000+0000

Please comment on the linked issue (closing this duplicate).

Have you found an issue?

See the Overview section for more details.


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

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