Closed Thread
Results 1 to 5 of 5

Thread: Increase connections to MySQL

  1. #1
    Wanch Guest

    Increase connections to MySQL

    I'm getting this error from MySQL:

    Code:
    Too many connections
    How do I increase the connection limit via console or WHM?

  2. CODECALL Circuit advertisement

     
  3. #2
    v0id is offline Retired
    Join Date
    Apr 2007
    Posts
    2,937
    Blog Entries
    3
    Rep Power
    42
    In MySQL version 3.x and 4.x you shall open the file called "/etc/my.cnf", and edit the variable/line saying something like "max_connections". The exact line is different from version to version, but see if you can find it.

  4. #3
    Wanch Guest
    Thanks, I added the line and restarted the service. Haven't gotten the error yet.

  5. #4
    Jordan Guest
    v0id is correct. By default it only allows 100 connections. Edit your /etc/my.cnf file and ADD:

    Code:
    [mysqld]
    max_connections=500
    Restart MySQL (in WHM) /etc/restartsrv_mysql OR execute SET GLOBAL max_connections = 500; in MySQL

    More info: http://dev.mysql.com/doc/refman/5.0/...nnections.html

  6. #5
    Wanch Guest
    Thanks.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. increase value by 1 and reload
    By zeroradius in forum JavaScript and CSS
    Replies: 9
    Last Post: 11-23-2009, 01:50 AM
  2. MySQL Connections
    By chili5 in forum Java Tutorials
    Replies: 11
    Last Post: 08-27-2009, 09:55 AM
  3. Two mysql connections
    By Blaze in forum PHP Development
    Replies: 2
    Last Post: 08-11-2006, 04:40 PM
  4. How do I increase downloads?
    By Crane in forum Marketing
    Replies: 3
    Last Post: 07-04-2006, 07:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts