?
Solved

Zend DB Adapter AutoReconnect via Config Ini

Posted on 2010-09-01
4
Medium Priority
?
1,097 Views
Last Modified: 2012-05-10
I'm working with the Zend PHP framework. My MySQL connection is timing out at the end of a lengthy script. How would I set up the DB Adapter to auto-reconnect through the application.ini file where the db params are set?
0
Comment
Question by:brettfarris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 2000 total points
ID: 33599555
Try resources.db.params.persistent = 1

See http://zendframework.com/manual/en/zend.db.adapter.html starting from "Note: Does Zend_Db Support Persistent Connections?"
0
 

Author Comment

by:brettfarris
ID: 33599705
I'll give it a try and let you know. Thanks
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 34221404
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question