In my office we sometimes have servers that hit the max_connections limit. As we sometimes have scripts that take up that 1 extra 'superuser' slot for MySQLD, we'd like to raise that.

Google really hasn't turned up much on this, is there a way to raise the number of slots?

  • How about setting max_connections reasonably high? Do the scripts realy have to have superuser rights? Mar 17, 2011 at 18:05

1 Answer 1


You might want to investigate the following options:

  • increasing max_connections to a reasonable amount
  • timing out idle connections
  • using persistent connections

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.