WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress wants to install after importing database (3 posts)

  1. robahas
    Member
    Posted 2 years ago #

    Hi - I've done this a million times (and perhaps incorrectly): Install wordpress; import a database from a different wordpress installation. Everything works. But now I have one that is not working. I imported the new database and when I went to /wp-admin to login it redirected to install.php and does not recognize the data I have imported to the dabase (and yes, the name etc has been double checked). This is in dreamhost with an automated installation, if that matters.

  2. robahas
    Member
    Posted 2 years ago #

    Here's the answer in case anyone else runs into it. Dreamhost adds a prefix to the database tables. Instad of, for example, wp_options it is wp_something_options. The database I was importing just had the regular wp_ prefix. To address the problem I edited the $table_prefix = 'wp_'; line in wp_config.php so that it matches the prefix of the database I was importing.

  3. insurgenesis
    Member
    Posted 2 years ago #

    Hi, I'm having a similar issue in that my site apparently needs to be reinstalled after database import. So it could not simply recovered from the backup which I had made with backwpup.

    Anyone, please? I'm devastated.

Topic Closed

This topic has been closed to new replies.

About this Topic