Title: Two blogs, one database?
Last modified: August 18, 2016

---

# Two blogs, one database?

 *  [m327](https://wordpress.org/support/users/m327/)
 * (@m327)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/)
 * Hi…
    I’ve created a database on my host. I understand that WordPress is not “
   multiblog” in the sense that one install can support more than one blog. But 
   is this possible…? Can I install WP in two separate directories and use each 
   install to support one blog — **but have only a single database to contain the
   data for both**? This may be a stupid question, but I’m limited to a single database
   by my host and would like to run two blogs from this account. Thanks for any 
   advice.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-66765)
 * `// Change the prefix if you want to have multiple blogs in a single database.
   
   $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
   
    So for blog 
   2, you could have $table_prefix = “wp2_”; etc.. You could have 100 wordpress 
   install in the one database, just so long as the table_prefix is different for
   each install.
 *  Thread Starter [m327](https://wordpress.org/support/users/m327/)
 * (@m327)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-66766)
 * Thank you for the help!
 *  [Ruby Sinreich](https://wordpress.org/support/users/rubyji/)
 * (@rubyji)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67014)
 * Can I get some clarification on this? Do I just edit wp-config to add a second
   line for the additional table? How does that work?
    Or do I reinstall the whole
   shebang in another directory but with a different value for the table prefix?
   Sorry if this is obvious, and thanks for all the good advice!
 *  Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67016)
 * What my English is studied is not good, please give your comments.
 *  [codergurl](https://wordpress.org/support/users/codergurl/)
 * (@codergurl)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67020)
 * rubyji: you reinstall “the whole shebang” in a new directory w/ a different table
   prefix 🙂
 *  [andrew001](https://wordpress.org/support/users/andrew001/)
 * (@andrew001)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67308)
 * Hello all,
    I tried to install my third wp (1.5.1.3) on one database. The first
   and second installs a while ago were just fine and close to the “5-Minutes” –
   and still running. But here I get the message “Already Installed You appear to
   have already installed WordPress. To reinstall please clear your old database
   tables first. “
 * I did change the the config and made sure the prefix is different
    I tried different
   prefixes such as ‘wp_b3’ then ‘wp_3’ and latest the advice ‘wp3_’
 * The message remains.
    What can I do?
 *  [andrew001](https://wordpress.org/support/users/andrew001/)
 * (@andrew001)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67309)
 * 2005-06-30 16:52:02 # 80.136.115.135
    Hello all, I solved the problem I posted–
   see above
 * 1. install.php
    2. wp-config.php
 * Solution:
    The installation message “already installed” is / was correct Reason:
   The install.php was that of the second install. Suggestion: Double-check your
   filesystem and where you put the relevant data. This information is key to refer
   to the “right” install.php Example: website/filename/wp-admin/install.php
 * 2. wp-config.php
    The process on how to handle this script is ok with respect
   to what you need to know and put in there. In my case I had to add the ip address
   too (this 1% exception rule) otherwise a message of the kind “cannot find server”
   pops up within the installation process.
 * Ergo: The 5-Minute install is a yardstick, if exceeded, something is going wrong!
   🙂
 * Open to me is, where this language module comes into action – in this case “German”,
   because the initial design is still in English.
 * Hope that helps
    Regards Andreas

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Two blogs, one database?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 7 replies
 * 6 participants
 * Last reply from: [andrew001](https://wordpress.org/support/users/andrew001/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/two-blogs-one-database/#post-67309)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
