Re: what is better? mysql_connect() or mysql_pconnect()?
| From: | Nikhil Goyal | Date: | Tue, 24 Apr 2001 14:00:22 +0000 |
| Subject: | Re: what is better? mysql_connect() or mysql_pconnect()? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50074@lists.php.net to get a copy of this message | ||
I believe a good article is at
http://www.php.net/manual/en/features.persistent-connections.php
""elias"" <elias_bachaalany@yahoo.com> wrote in message
news:9c3fi6$edm$1@toye.p.sourceforge.net...
> hello...
> just asking...what is better in this case:
> i got lots of scripts and almost all of them needs to connect to the DB
and
> some of thems are accessed lots of times what is better to use in such
> cases:
> mysql_connect() or mysql_pconnect()...
> i mean will speed factor play a role when lots and lots of user tries to
> connect to the DB?
>
> -elias
> http://eassoft.cjb.net
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>