• Resolved tokeoils

    (@tokeoils)


    Hello UpdraftPlus Support,

    I recently performed a site restore using UpdraftPlus. Since then, I’ve started to experience intermittent errors saying “Error establishing a database connection.”

    This issue had never occurred before the restore. It’s not consistent: for example, when I try to open a page, I may see the error the first or second time, but if I refresh two or three times, the page eventually loads correctly.

    The website in question is academy.tokeoils.com, which currently has almost no traffic, so there is no risk of server overload from visitors. That makes me think it could be related to the restore process itself rather than resource usage.

    Could you please let me know:

    • if this is a known issue after a restore with UpdraftPlus,
    • and what steps you recommend to troubleshoot or resolve it?

    Thank you very much for your support.

    Best regards

    Moreno

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi Moreno,

    Thanks for reaching out. UpdraftPlus itself doesn’t make ongoing changes to the database once a restore is complete — it just runs the restore process and then hands control back to WordPress. Seeing “Error establishing a database connection” intermittently afterwards usually points to something environmental rather than the restore itself.

    A few things you can check:

    • Confirm that the database credentials in wp-config.php are correct (host, user, password, database name). If the restore included wp-config.php, it’s possible an older value was written there.
    • Also worth double-checking that the restored database tables all match your WordPress table prefix — sometimes if a prefix mismatch occurs, WordPress may not consistently find the tables.

    This isn’t a common problem directly caused by UpdraftPlus, but the restore may have surfaced an underlying hosting/database configuration issue.

    Best regards,
    Bryle

Viewing 1 replies (of 1 total)

The topic ‘Error establishing a database connection’ is closed to new replies.