• I keep getting this message with my wordpress site:

    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 localhost. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure you have typed the correct hostname?
    Are you sure the database server is running?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    When I contacted my hosting (A2), they told me to turn off cron jobs, which I did in wp-config. They told me to purchase and set up Cloudflare, which I did. They told me to install the A2 optimized plugin, which I’m trying to configure, but I’m basically locked out of my site, getting the above error message every time I click something when it finally loads.

    They keep telling me to contact my developer, but I don’t have a developer. I do wordpress myself, but I don’t understand this backend and server stuff.

    I am beyond frustrated trying to get my site functioning again. And I can’t optimize and clean up until it’s functioning. This website is my business. HELP!

    [ redundant link removed ]

    • This topic was modified 5 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    If your database server keeps dropping offline, that’s something your hosting provider will need to fix. You might have to explain to them that you’ll need that to stop, or you can’t even begin to optimize the site.

    If you keep running into this problem, you might need a better hosting provider. We have a few recommendations at https://www.ads-software.com/hosting/

    I’m wondering if your database might be getting clobbered with requests by a misbehaving plugin or something.

    What I’d do is go into the site via FTP or your hosting control panel’s file manager and rename the plugins directory. I’d just add the numbers ‘1234’ to the directory name… that will disable all the plugins in that directory and probably loosen up with the database requests after a bit.

    I see there’s some plugin that came with the theme so expect your theme to possibly look odd. Test a couple of times and watch to see if things get slightly better.

    If it starts behaving well then you’ll need to disable those plugins individually looking for one or more causing a problem.

    Comeback and let us know so we can further advise you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MAXED CPU i/O usage’ is closed to new replies.