Re: persistant connections
| From: | Dan Phoenix | Date: | Fri, 05 Jan 2001 05:39:50 +0000 |
| Subject: | Re: persistant connections | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32823@lists.php.net to get a copy of this message | ||
Php ...the new one states mysql_close now works.
What is story with that and can that help me in anyway upgrading?
On Fri, 5 Jan 2001, Jason Brooke wrote:
> Date: Fri, 5 Jan 2001 13:52:42 +1000
> From: Jason Brooke <jason@qgl.org>
> To: Dan Phoenix <dphoenix@bravenet.com>, php-general@lists.php.net
> Subject: Re: [PHP] persistant connections
>
> If you check the manual section that explains how persistant connections
> work, you'll realise why your question is a bit silly. The very nature of
> the persistant connection means it's there as long as, both the apache child
> that initiated it, and the database server it's connected to, remain
> running.
>
> The situation you're getting can still happen without persistant connections
> as long as the web server is running. You need to prevent connections to
> mysql if you don't want to stop Apache.
>
> jason
>
>
>
> > How do you tell php to killall persistant connections to a database
> > if a database goes down....ie for backups?
> > I hate having to reset all the apache servers all the time cause of
> > a database backup!
>
>
>
>
>