Issues

ZF-11506: Zend_Db_Adapter_Mysqli should mysql_ping before assuming connected

Issue Type: Improvement Created: 2011-06-23T20:59:58.000+0000 Last Updated: 2011-06-23T21:00:17.000+0000 Status: Open Fix version(s): Reporter: John Kelly (postalservice14) Assignee: John Kelly (postalservice14) Tags: - Zend_Db_Adapter_Mysqli

  • Zend_Db

Related issues: Attachments: - mysqli_connection.patch

Description

There are a couple of places that Zend_Db_Adapter_Mysqli checks for a connection. Why do these checks not utilize mysqli_ping?

I am running into instances where I am getting a "MySQL Server has gone away" error, and I believe if we used mysqli_ping in the two places I've pointed out in the patch file, you would have a better chance of not getting that error message.

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts