Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #851564

    STEVE H
    Participant

    Hi,

    My site is running into intermittent “error establishing a database” problems.

    I ran a debug plugin and it indicated there’s a problem with Cornerstone. It says the error file is:

    public_html/savethepostoffice/wp-content/plugins/cornerstone/includes/utility/plugin-base.php

    I tried deleting and re-installing the plugin, but no luck.

    I also tried emptying out the customizer CSS code and all the changes to the child theme I had made, but that didn’t fix it either.

    My host provider says the issue is being caused by “your user hitting the MySQL Max_Connection limit. This means something in your code such as a plugin or theme is not closing the connection properly. A normal MySQL connection takes a few milliseconds and there can be 15 at one time, but if the connection is not closed the account will hit the limit and display the error. You will need to try disabling plugins and changing the theme to track down the cause of the error.”

    The problem is also affecting other sites on the same account.

    I can attached the debug error message in a private message if it helps.

    Site: savethepostoffice.com
    X Theme: 4.3.4
    Wordpress 4.4.2

    Thanks for your help.

    #851592

    STEVE H
    Participant

    More info on previous post. With Cornerstone disabled, I’m still getting an error message via the debug plugin:

    public_html/savethepostoffice/wp-content/themes/x/framework/functions/global/helper.php

    Thanks for your help.

    #851716

    John Ezra
    Member

    Hi there,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Please note that we are not able to access your site. It comes up with an error regarding database connection.

    You may want to check with your host as well to see if they can spot what is causing the issue. Once your site is accessible we can check further if still needed. Thanks!

    #852389

    STEVE H
    Participant
    This reply has been marked as private.
    #852639

    Darshana
    Moderator

    Hi there,

    Your FTP credentials seems to be incorrect. Could you please confirm with the correct information? so that we can check your issue.

    Thanks!

    #852677

    STEVE H
    Participant
    This reply has been marked as private.
    #853002

    Rad
    Moderator

    Hi there,

    Yes, it’s too slow. Would you mind upgrading your PHP version to 5.6 and greater? That’s WordPress requirement and your version is currently at 5.4.

    Thanks!

    #853402

    STEVE H
    Participant

    Hi,

    So far, so good. I think you have solved the riddle. This was perplexing my host provider, where several of their experts spent a lot of time trying to figure this out. Thank you so much. You have the best support team!

    #853428

    Darshana
    Moderator

    Glad you were able to resolve your issue 🙂