Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 08-14-2006
Contributing Member
 
Join Date: May 2006
Posts: 84
Thanks: 0
Thanked 11 Times in 7 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: 101
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: 133
Thanks: 21
Thanked 48 Times in 18 Posts
bvani will become famous soon enough
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved