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

    Join Date
    Jul 2000
    Location
    paris
    Posts
    1
    Rep Power
    0
    I run php scripts in which they are many sql queries and after two days i have the "too many connections" error and i have to reboot the server.I though that a mysql_connect() ends automatically in the same time that the php script . I tryed to insert mysql_close() at the end of each script but nothing to do...

    I will try the mysql_pconnect() but after that i don't know..
    help me or i will become mad...

  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    I will try the mysql_pconnect() but after that i don't know..

    that may solve your problem...


    ------------------
    SR -
    webshiju.com

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Upgrade from access to mysql
    By karib1 in forum MySQL Help
    Replies: 1
    Last Post: December 16th, 2003, 12:27 AM
  2. help concurrent mysql connections
    By jaina2 in forum MySQL Help
    Replies: 0
    Last Post: November 19th, 2003, 02:53 AM
  3. simultaneous mysql connections allowed?
    By glassgorilla in forum MySQL Help
    Replies: 0
    Last Post: October 26th, 2003, 06:12 PM
  4. Can't connect to MySQL server remotely
    By bper in forum MySQL Help
    Replies: 2
    Last Post: October 2nd, 2003, 02:09 PM
  5. Multiple mysql connections to the same db?
    By n00854180t in forum PHP Development
    Replies: 5
    Last Post: September 19th, 2003, 04:29 PM

IMN logo majestic logo threadwatch logo seochat tools logo