The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i set the max of mysql connection number

Discussion in 'General Discussion' started by joelin, Dec 13, 2007.

  1. joelin

    joelin Active Member

    Joined:
    Nov 7, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    the max of mysql connection number
    Hi,

    as i know,

    we can set the the max of mysql connection number for entire server,

    or a certain account can use,


    by the way,when a account is running the mysql connection too much,

    and reach the max connection number,

    no matter total number of all the server over over the max of the entire server,

    or certain account over the max of certain can use,

    the website will show with mysql too many connection error.



    i want to ask where can i edit or add the setting?



    thanks a lot.
     
  2. joelin

    joelin Active Member

    Joined:
    Nov 7, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    hi,

    i got it by edit the file /etc/my.cnf



    sloved. :)
     
Loading...

Share This Page