Geeks Talk

Prepare for your Next Interview




Provide Insight about the Difference

This is a discussion on Provide Insight about the Difference within the MY SQL forums, part of the Databases category; I want to know the difference between mysql_connect() and mysql_pconnect()? A brief idea on this is welcome....


Go Back   Geeks Talk > Databases > MY SQL

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-14-2006
Contributing Member
 
Join Date: May 2006
Posts: 85
Thanks: 0
Thanked 9 Times in 6 Posts
timmy is on a distinguished road
Provide Insight about the Difference

I want to know the difference between mysql_connect() and mysql_pconnect()? A brief idea on this is welcome.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-17-2006
Expert Member
 
Join Date: Jul 2006
Posts: 102
Thanks: 0
Thanked 6 Times in 4 Posts
sripri is on a distinguished road
Re: Provide Insight about the Difference

The following two links gives a detailed explanation on the difference between mysql_connect() and mysql_pconnect()

http://www.php.net/manual/en/function.mysql-pconnect.php

PHP: mysql_connect - Manual
Reply With Quote
  #3 (permalink)  
Old 02-12-2007
Expert Member
 
Join Date: Apr 2006
Location: India, Hyderabad
Posts: 129
Thanks: 19
Thanked 36 Times in 17 Posts
bvani is on a distinguished road
Re: Provide Insight about the Difference

mysql_connect - opens a connection to the mysql server and closes when we use mysql_close

mysql_pconnect - this opens a constant connection to the mysql server which cannot be close by mysql_close and can be reused.
Reply With Quote
Reply

  Geeks Talk > Databases > MY SQL


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Provide Suggestion nancyphilips Interviews 7 01-03-2007 02:18 AM
Provide the Command or Option fred JavaScript 1 11-12-2006 02:02 PM
Kindly provide the Reason joel ASP.NET 2 09-16-2006 03:49 PM
Provide some Tips for Answering janelyn Interviews 1 08-08-2006 02:35 PM
Someone provide key for locking rules sripri Oracle 0 07-17-2006 04:23 PM


All times are GMT -4. The time now is 10:22 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved