Jump to content

connection optimization


isaac_cm

Recommended Posts

I am using this command to connect to my database

mysql_pconnect($hostname_mainsqldb, $username_mainsqldb, $password_mainsqldb) or trigger_error(mysql_error(),E_USER_ERROR);

is it right to use single connection all over th site or I have to make multiconnections to achieve best speed

thanks
Link to comment
https://forums.phpfreaks.com/topic/25215-connection-optimization/
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.