Support » Installing WordPress » 2 or 3 blogs on 1 database

  • Resolved rustysven

    (@rustysven)


    Is it possible to run 2 or 3 blogs on 1 MySQL database, if so can it be done at setup and how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)

    (@podz)

    Support Maven

    In wp-config.php is this line:

    $table_prefix = 'wp_';

    change that for each blog:
    $table_prefix = 'wp1_';
    $table_prefix = 'wp2_';
    etc..

    Alex Mills

    (@viper007bond)

    rustysven

    (@rustysven)

    Thank you for your help, tried it but it failed….then I got to thinking…my account allows sub domaines, so I set up a sub domain, and installed wordpress onto it, but the both blogs point to the same MySQL database, just changed the wp-config.php, as you suggested above.
    Or maybe thats what you ment…I am a newbie to this sort of thing.
    🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 or 3 blogs on 1 database’ is closed to new replies.