Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Guest

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

mysql_connect()

 

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.

 

Thanks!

-Scott

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?

 

to

 

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

 

hope this helps,

 

Rob

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...