Lorna Jane Mitchell: Dealing With MySQL Gone Away in Zend Framework

      Comments Off on Lorna Jane Mitchell: Dealing With MySQL Gone Away in Zend Framework

Lorna Jane Mitchell – whom I won’t even pretend to introduce to you because everybody knows Lorna – recently wrote a blog post for her blog titled “Dealing With MySQL Gone Away in Zend Framework”. In it she discusses a solution she came up with to a nagging problem she has been having with PHP, Zend Framework and Gearman.

I wrote recently about having gearman in my application, however I have been seeing problems with the long-running PHP worker scripts. My logs had entries like this:

The post is short and to the point with exactly 3 lines of code. However, if you are working with MySQL and Zend Framework, it’s an important lesson. Learn from her so you don’t have to lear it yourself. :)

p.s. This post was also covered by our good friends over at phpdeveloper.org.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PCs.   For the past 10 years, Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is happily married to wife 1.33, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Nomad PHP