• site: https://www.ifitshipitshere.com

    I am hoping that anyone out there can please help me with this.

    There’s something wrong in my wp-includes/wp-db.php that keeps telling the database that I have exceeded the “max_user_connections” and yet no one at my host, iPower, can tell me how to fix this. Without any plugins activated I am getting the following error:

    20160211T212452: https://www.ifitshipitshere.com/index.php
    PHP Warning: mysql_connect(): User ifitship1 already has more than ‘max_user_connections’ active connections in /hermes/bosnaweb22a/b2117/ipw.ifitship/public_html/blog/wp-includes/wp-db.php on line 1473

    And based on my visitor logs it does not look like I am getting enough visits to cause the problem.

    I don’t want to screw around with my wp-includes folder unless I know what I’m doing.

    Is there anyone I can show this php to who can tell me where the error is and how to fix it? I’d be crazy appreciative!

Viewing 5 replies - 1 through 5 (of 5 total)
  • It seems that the user it is talking about is talking about is not your WordPress user but your user connection to your database. Check your folder structure for files that have changed since the problem started – also make sure there is only one login on your wp-config.php file – the site may have been hacked. It could be worth doing an upgrade or a reinstall – if the includes and admin files are hacked you can delete them and upload fresh ones in their place. Install Wordfence – it will scan your files and tell you if there are any hacked files or security issues.

    Thread Starter lauralsweet

    (@lauralsweet)

    Thanks so much MartinCDS, I’ll look into all of the above ASAP and report back,
    laura

    Thread Starter lauralsweet

    (@lauralsweet)

    Here’s what I believe is wrong, my wp-config.php file says the following (among more):

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/hermes/bosoraweb181/b2117/ipw.ifitship/public_html/blog/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
    define(‘DB_NAME’, ‘wrd_5bbhnnn1mm’);

    But I no longer use WP-super-cache, I use W3 Total Cache.
    What do I need to change in the above code? seems to easy to just replace wp-super-cache with w3-total-cache

    Thread Starter lauralsweet

    (@lauralsweet)

    MartinCDS, I deleted the following from the wp-config.php

    //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/hermes/bosoraweb181/b2117/ipw.ifitship/public_html/blog/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager

    and made sure that all other wp-super-cache php files and related files were removed. Hoping that will solve the issue.

    Thanks again

    I’m sure that should do it- let us know if it works as it may solve the problem for someone else with the same problem ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘index.php and wp-db.php error I can't fix’ is closed to new replies.