1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Rep Power

    I have done a portal using Php/mysql.
    Sometimes it comes with this error..
    Warning: Too many connections in dbase.inc on line 7

    dbase.inc is the include file which I used to make a connections thru the database in mysql.

    I've included in every page that I have
    include "dbase.inc";

    Could this make those error. Before this I used mysql_connect(), but when i used mysql_pconnect(), there's still error.

    Could someone figured this out?

    Thanks in advance.

  2. #2
  3. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    London, UK
    Rep Power
    mysql_pconnect(); is only useful if you have PHP installed as a module. If you have the CGI version installed, it's useless.

    Your host may only allow you a certain number of connections to the database at once. That could be the cause of the error.

    Hope this helps,


Similar Threads

  1. Warning: mysql_fetch_row(): ??
    By commodus in forum PHP Development
    Replies: 31
    Last Post: November 16th, 2005, 04:52 PM
  2. Relative Path
    By MrT in forum Apache Development
    Replies: 2
    Last Post: February 12th, 2004, 06:05 AM
  3. need help please
    By commodus in forum Beginner Programming
    Replies: 1
    Last Post: January 18th, 2004, 04:50 PM
  4. C++ Question
    By rave41799 in forum C Programming
    Replies: 8
    Last Post: December 21st, 2003, 03:39 AM
  5. Replies: 4
    Last Post: December 8th, 2003, 10:39 AM

IMN logo majestic logo threadwatch logo seochat tools logo