Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    1

    Default Problems with remote mysql: too many connections

    Hello All

    This is my first post in this great community !! Sorry for my english.

    I send this topic for problems that I have in my mysql server that I use to use databases in all my servers.

    Today I recive this error in one of my sites:

    Warning: mysql_connect(): Host 'www.HOST.com' is blocked because of

    many connection errors. Unblock with 'mysqladmin flush-hosts'

    Mysql server blocked all conecctions for one of my host for too many connections.

    My question is, I have possibite to put can use more connections or configure mysql to accept ilimitate connections to mysql for all servers?

    I wait responses. Thanks for your help!

    cranc2k.

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Better late than never :-)

    You have a mysql config file in /etc/my.cnf
    You can put a lot of stuff in there, just search for it.

    About connections you can set:

    [mysqld]
    max_user_connections = 100
    max_connections = 600

    This is what I have on one server.
    On another server I have max_user set to just 30, it depends on how
    much your individual users need it and how it affect your server and load.

    max_user is the amount of connections a user can have
    max_connections means the amount of connections everybody together can have

Similar Threads & Tags
Similar threads

  1. Problems seting up remote MySQL
    By Sergiu Tot in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-22-2007, 03:48 PM
  2. Do you allow remote connections on mysql?
    By kieranmullen in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-12-2006, 02:27 PM
  3. Remote MySQL - having lots of problems!
    By viptexting in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-16-2006, 01:30 PM
  4. How do you allow SECURE remote MySQL connections?
    By Valetia in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-03-2004, 09:15 AM
  5. How to disable Remote MySQL connections?
    By H2Hosting.com in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-27-2002, 05:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube