WordPress.org

Ready to get started?Download WordPress

Forums

Database+zipped theme (2 posts)

  1. xnolasco
    Member
    Posted 1 year ago #

    Hello everyone,
    I am new around, I did a query and seems is not duplicated.
    If I am wrong, point me into the right thread please.

    I have a customer whose database has been backed up, and he zipped the wordpress folder from file manager from his previous web host.
    Now I have the database on one side and the wodpress folder on other.

    HereĀ“s what I been doing to restore everything.
    Installed InstantWp, ran the phpmyadmin and create a table, imported the database he gave me, so far it worked.
    Now, when I unzip the wordpress folder into InstantWP and try to access it, it gives me a database connection error, I opened the wp config file and it seems it references to the old database name, what should I from here?

    Thanks

  2. Doodlebee
    Member
    Posted 1 year ago #

    You need to edit the wp-config.php file to the correct database settings for your localhost installation. (I'd recommend also saving the old file as a backup for the live site)

Topic Closed

This topic has been closed to new replies.

About this Topic