Viewing 1 replies (of 1 total)
  • Thread Starter the travel writer

    (@flyerdave)

    Ok – this is how I resolved the issue if others need to know.

    1. I had the “W3 Total Cache” plugin active when I did the backup, this i had to disable in “wp-config” by using an editor and removing the lines

    “/** Enable W3 Total Cache */
    define(‘WP_CACHE’, true); // Added by W3 Total Cache

    /** Enable W3 Total Cache Edge Mode */
    define(‘W3TC_EDGE_MODE’, true); // Added by W3 Total Cache”

    2. I did a fresh install of WP (using the version of the backup) and used the same database settings as the backup, (from the wp-config file)

    3. I then reloaded the backed up files using FTP and overwrote the db with the backed up tables.

    Hope this may help others.

Viewing 1 replies (of 1 total)

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