title: Too many open MySQL connections
body: <p>I am developing a project in which two portions of webpage frequently change and fetch recent data. I have some confusion about whether to use <code>mysql_connect</code> or <code>mysql_pconnect</code>?  I have one config file that is being included in every page. There is one database connection object which I use for queries. Even when approximately 70 users are online it shows 20,000 connections on my server. Please suggest me the best way to keep a single connection alive from a single user, so there should be 70 connections when there are 70 users online.  Currently I'm not using <code>mysql_close</code> method to close connection. Is this the reason it shows these many connections?  Your advice will really be appreciated.</p>