Support » Installing WordPress » wp122 and wp15 share one db?

  • I’d like to get two implementations going of wordpress.. I have a matured wp122 one going already and would like to keep it going. But at the same time, I’d like to start dabbling with wp15. So I was wondering if it’s possible to say continue to run wp122 out of one directory, and then run wp15 out of another one (say /blog vs. /wp15) but have them both read from the same mysql db?

    This way, I’d still be able to goto /blog and get the content driven through wp122 (most of my readers would be doing this), but at the same time be able to goto /wp15 also and still have the exact same content/interaction? That would be absolutely stellar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • ziddey,
    There are a lot of differences between the two versions, and unfortunately, you can’t run them both from the exact same set of tables in your database. You would have to give the 1.5 version a unique prefix (set in wp-config.php) for its tables. They can live in the same database, but the two versions can’t share the same tables.

    EDIT: Or you could copy the database and upgrade it as RustIndy suggests below! 🙂

    Nope, 1.5 and 1.2 cannot use the same tables for data. They can technically share a database (any number of installations can, of any version) provided each installation uses a unique table prefix (set in the wp-config.php file), but not data unless they’re the same version. Even then, you’ll have problems with administering the thing and comments.

    So your only option is to either work from a fresh 1.5 install, or copy your existing database and use that for 1.5. When you’re ready to make the jump completely (presumably when 1.5 is released), just change back to the 1.2 database and upgrade it (after backing it up, natch).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp122 and wp15 share one db?’ is closed to new replies.