• My site has encountered an error which I do no know how to recover from (the site does not exist anymore… https://bhide.net/wordpress_files), so my plan is to reinstall WP. I have backed up my MySQL database, I have the wp-content folder and the wp-config file.
    After deleting the database files and reinstalling WP how do reinstall the old database files so I can recreate the site?

    Thanks
    Abbie

Viewing 7 replies - 1 through 7 (of 7 total)
  • You’ll need to go into your MySQL database and import your database file. If you have access to phpMyAdmin, you navigate to your database and then use the “IMPORT” feature.

    Having said that, the error you talked about may occur again — if it was in the database or the wp-content folder that you’ll be using again?

    Thread Starter Abalicious

    (@abalicious)

    This is true. I don’t know what is causing the issue. But I figure reinstalling is at least one way of troubleshooting?

    Thanks for the import knowledge!

    Sure, it’s worth a shot. If it solves the problem…that’s great! If not, then you can look into other options.

    Thread Starter Abalicious

    (@abalicious)

    Ok, I reinstalled WP, that worked, and then uploaded the old database, which then resulted in the blank screen again.

    Any ideas?

    Thread Starter Abalicious

    (@abalicious)

    Ok, I reinstalled WP, that worked, and then uploaded the old database, which then resulted in the blank screen again.

    Any ideas?

    After reinstalling the database, have you changed the site url and home url in the wp_options table?
    Also, in wp-config.php file, update the database information, like host name, database name and password.

    You’ll need to start disabling all plugins and revert to a default theme.

    Log in to your site using FTP, navigate to the directory /wordpress_files/wordpress/wp-content/plugins and rename ALL subdirectories in there (for example, rename “akismet” to “akismet-disabled”, and so on). This will disable every plugin.

    See if that solves the issue.

    If it doesn’t, check which theme directories are available in /wordpress_files/wordpress/wp-content/themes and rename them all, except twentyfourteen. This will make the site revert to a default theme.

    If that works, you can rename things back to their orignal names and try to enable/activate them one by one, to see which theme/plugin may be causing the issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Reinstalling with old database’ is closed to new replies.