Re: [PHP] long mysql_connect times

2005-03-14 Thread Dan Tappin
Just an update... on a hunch I changed my mysql_connect to mysql_pconnect. As expected the first one still takes 5 to 10 seconds and after that subsequent pages load instantly as expected. Dan T On Mar 14, 2005, at 3:07 PM, Dan Tappin wrote: I have a PHP5.x site under development with MySQL 4.1

[PHP] long mysql_connect times

2005-03-14 Thread Dan Tappin
I have a PHP5.x site under development with MySQL 4.1.x. I had the site running fine and there were no speed issues at all. Everything is on the same system (a dual G5 Xserve). Today however the PHP pages with MySQL calls started to take forever to load. Static html and php files still loade