Results 1 to 9 of 9
  1. #1

    Default #1040 - Too Many Connections (MySQL)


    How to prevent this to happen man bro

  2. #2
    nyati na. mura man ka nag ingon, nagbaha sa amoa, unsaon pag pugong ani.

    hatag pud gamay background unsa imo gibuhat oi. kasagaran mahitabo na kay nag cge ug create ug connection imo program didto sa DB.

  3. #3
    Quote Originally Posted by junkfactory View Post
    nyati na. mura man ka nag ingon, nagbaha sa amoa, unsaon pag pugong ani.

    hatag pud gamay background unsa imo gibuhat oi. kasagaran mahitabo na kay nag cge ug create ug connection imo program didto sa DB.
    ning access ragud ko sa phpmyadmin nya pag login nako dili ma login kay mao lage na ang error.wako kahibaw ngano

  4. #4
    try connection pooling

  5. #5
    try releasing the connection after use.

  6. #6
    restart mysql

  7. #7
    Quote Originally Posted by prokops View Post
    How to prevent this to happen man bro
    adjust your max_connections in my.cnf or my.ini

  8. #8
    Be sure to close the connection after using it.

  9. #9
    aside sa comments sa taas, when you make connection to db, dapat ka 1-3 lang and then you can always assign that as objects. para magamit sa uban modules nimo. para dili ka mo exceed sa limit of connection.

  10.    Advertisement

Similar Threads

 
  1. Our problem is that we have too many politicians
    By raski in forum General Discussions
    Replies: 15
    Last Post: 11-10-2009, 09:24 PM
  2. Our problem is that we have too many politicians
    By raski in forum Politics & Current Events
    Replies: 10
    Last Post: 11-04-2009, 08:04 PM
  3. Too (many?) Java technologies. Where to start?
    By tokidoki in forum Programming
    Replies: 43
    Last Post: 12-22-2007, 02:56 PM
  4. Replies: 1
    Last Post: 10-04-2006, 09:18 AM
  5. too many bands in cebu
    By eCpOnO in forum Music & Radio
    Replies: 172
    Last Post: 04-23-2006, 09:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top