WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Installing multible WP's to 1 DB (7 posts)

  1. jthusgaard
    Member
    Posted 7 years ago #

    Hi

    I have a problem. My hosting provider only allows for 5 MySQL databases and I have reached that limit.
    So now I have 2 options use a CMS that works with PGSQL or find a way to optimise my use of databases.

    The thing is that I’m hosting homepages for the family. The pages are very similar, but with different content. My thought is to merge two homepages (http://jesper.thusgaard.com and http://baby.gjesager.dk) to the same database, without changing the way the pages looks and their content.

    If it’s possible with 2 homepages I might even merge 5 pages into one database…..

    But is it possible? Or should I just pay my provider for more MySQL databases?

    J;-)

  2. aadil
    Member
    Posted 7 years ago #

    Have you given WordPress MultiUser (http://mu.wordpress.org/) a thought?

  3. jthusgaard
    Member
    Posted 7 years ago #

    Didn't know there was a mu-version.

    Will check it out ASAP.

    J;-)

  4. You can have multiple WordPress installations in the same database. You just need to give each one a different prefix, which you set in the wp-config.php file.

    When you install each one, WP creates the tables with the prefix you specify, which ensures that the separate sites won't interfere with each other.

  5. jthusgaard
    Member
    Posted 7 years ago #

    Hi LesBessant

    Just what I wanted. I'll test it this weekend.

    J;-)

  6. jthusgaard
    Member
    Posted 7 years ago #

    Didn't find the time to test it... ;-)

    But is there anyway to have a common plugins directory. We use the same set of plugins across 5 (possibly more in the future) websites. All the sites are hosted from the same server. I'm getting a little tired keeping all the different plugin directories up to date.

  7. jthusgaard
    Member
    Posted 7 years ago #

    I've tested it and it works like a charm, the part with multiple DB's.

    It would be nice to have 1 plugin directory for all my sites.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags