WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] User xxxxxxxx_wp already has more than 'max_user_connections' active connections (8 posts)

  1. fish911
    Member
    Posted 1 year ago #

    I have the same exact errors listed on my dashboard under the links and new news area even though my website seems to be working fine. The backend also seems to be working fine the only issue is it's displaying the error messages towards the bottom of the dashboard.

    This is how both error messages read. Under the New-news section and links section towards the bottom of the dash.
    PHP error message

    Warning: mysql_connect() [function.mysql-connect]: User xxxxxxxx_wp already has more than 'max_user_connections' active connections in /home/xxxxxxxx/public_html/wp-includes/wp-db.php on line 1141


    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at mysql15.000webhost.com. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    I've already tried deleting all the plugins and then reinstalling them one by one.
    Other than that all I've really done was read how to's on the subject. I did switch themes, I'm using the responsive theme version 1.9.3.1 so I switched to the 2012 theme with no luck then switched back.

    Like i said above my site seems to be working perfectly I'm able to upload plugins via FTP, the front end loads fine and seems to be in order.
    This is a link to my site, http://wwww.jrjbroofing.tk

    Please any help would be greatly appreciated.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    That sounds like a server configuration issue. Have you spoken to your hosts about it?

  3. fish911
    Member
    Posted 1 year ago #

    Thank You so much Esmi for the fast response.
    I'm using 000webhost to host the free site. I'm not sure if they offer customer support for free hosting but that's my next move.
    I'm assuming they will not be of much help!

  4. I'm assuming they will not be of much help!

    Exactly. You get what you pay for. Free hosts will always be problematic. Those errors are typical of free hosts dropping the MySQL server under load.

    Get a real host: see Recommended WordPress Web Hosting

  5. fish911
    Member
    Posted 1 year ago #

    Thanks for the links songdodtech I do plan to switch to paid hosting soon but until then I would like resolve this darn error message, I can't allow it to beat me.

    Little to my surprise 000webhost responded to the ticket I submitted regarding this issue. But I'm still stuck, any help would be highly appreciated.

    This is the message from 000webhost:

    If you get 'User XXX already has more than max_user_connections active connections' or "too many connections" message, it means your script is not optimized and makes too many connections to the database (or your website is very active, has many users online at the same time).

    You may want to run mysql_reconnect command before each query in this case. Also add command mysql_close()at the end of your script to close all open connections.

    Any help walking me through this would be great!

  6. it means your script is not optimized and makes too many connections to the database (or your website is very active, has many users online at the same time).

    Emphasis is mine. The walkthrough really is "Use a different host".

    The problem isn't WordPress, it's that your site is using up the resources. You really do get what you paid for and that generic message is the result of your site having too many visitors then they allow.

    Lose that host. If you are serious about your site (and you are right?) then looks for an alternative.

    http://wordpress.org/hosting/

  7. fish911
    Member
    Posted 1 year ago #

    @Jan Your right I'm sure of that. I'm switching to paid hosting a I type. My only concern is that I'm almost positive my site does not get that much traffic if any? I was wondering if some type of attack / hack could be triggering this. Like I said I'm sure I'm only getting between 5-10 hit's a day on my site if that.

    But like the wise man above once said you get what you pay for!

  8. fish911
    Member
    Posted 1 year ago #

    I'll mark this topic as closed the source of the problem was with the hosting like suggested above. I switched to hostgator and everything is working flawlessly.

Topic Closed

This topic has been closed to new replies.

About this Topic