Interview
    C#
    VB.Net
    VC++
    ASP.Net
    ADO.Net
    .Net Framework
    Silverlight
    WPF(Windows Presentation Foundation)/XAML
    WCF(Windows Communication Foundation)
    Java
    PHP
    AJAX
    Assembly
    XML
    Wireless/Mobile Development
    Cold Fusion
    MSSQL Server 2000/2005/2008/2012
    MYSQL
    DB2
    MS Access
    Java Script
    VB Script
    JQuery
    Testing
    BlackBox Testing
    WhiteBox Testing
    OOPS
    SharePoint
    ASP.NET MVC
    HTML5
    CSS/CSS3
    IIS 7
    Windows 8
    Google API
    Facebook API
    Twitter API
    Android Programming
    iPhone/iPad Programming
    Windows Phone Programming
    Json
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit Question | Search 
Report Abuse Form
Reason:    
 
Interview
Home >> PHP >> What is difference between mysql_connect and mysql_pconnect?

What is difference between mysql_connect and mysql_pconnect?

Posted By Awadhendra Tiwari on 6/13/2011
Views: 750
Major Category: Other Programming
Sub Category: PHP
Total Answer 1
User Information Answer
• Awadhendra Tiwari
Posted Date 6/13/2011

mysql_connect opens up a database connection every time a page is loaded. mysql_pconnect opens up a

connection, and keeps it open across multiple requests.

mysql_pconnect uses less resources, because it does not need to establish a database connection every

time a page is loaded.


Report Abuse

Report Abuse Form
Reason:    
 
Total Online Users: 7444
Advertisement
MindStick SurveyManager
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.