Error #1040 - Too many connections

Installed the latest dashboard, Defender, Hummingbird, and SnapShot Pro yesterday, including the uptime monitor... Everything was fine until about an hour ago. Getting "error establishing database connection" when trying to view the homepage or wp-admin. Unable to log into phpMyAdmin because of error "#1040 - Too many connections" - hosting is on GoDaddy. Could one of the plugins be sending too many requests?

  • Dimitris

    Hey there 95bits,

    hope you're doing good and thanks for reaching us! :slight_smile:

    About the "error establishing database connection" issue please refer to next link
    https://godaddy.com/help/why-is-wordpress-unable-to-connect-to-my-database-during-install-5111
    as you should double check the DB credentials used inside wp-config.php file of your installation.

    If the error persists, please try to deactivate your plugins by renaming /wp-content/plugins/ folder
    to /wp-content/plugins.deactivated/
    Ref: http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    You could then access your website's admin area. Now you could revert the plugins folder name to /plugins/ and activate your plugins again one-by-one from /wp-admin/plugins.php admin page just in case you could replicate this error state again.
    Prior to activating them back, please access your server through FTP, edit the wp-config.php file, find a line like
    define('WP_DEBUG', false);and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That's all, stop editing! Happy blogging. */ comment)

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    By doing so, any PHP catchable error should be logged to /wp-content/debug.log. Simply download it, rename it to debug.txt and attach it here in your next reply.

    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.