Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

mysql_pconnect() vs. mysql_connect() ????


Recommended Posts

I've been having some trouble with my site (avocadotree.com). I'm hosted by iPowerWeb. I talked to them today and they said that I needed to change from

mysql_pconnect() to



They said that they do not support mysql_pconnect.

The site has been working fine, but I guess when there are a lot of users it chokes.


What do I need to do to change this?

I don't know much php. This site has been a learn-as-you-go project for me.

Any help would be much appreciated.

The more detailed, the better.




Link to comment
Share on other sites

I think to fix this, go in2 your configure.php files, and change this


  define('USE_PCONNECT', 'true'); // use persistent connections?




  define('USE_PCONNECT', 'false'); // use persistent connections?


hope this helps,



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...