• Resolved robahas

    (@robahas)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter robahas

    (@robahas)

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress wants to install after importing database’ is closed to new replies.