CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
Pages: [1]

Author Topic: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below  (Read 2744 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 10, 2008, 10:27:34 am
Just need to do these so two departments can have their own separate databases (long story)
But they both use the same drupal website.
So it would just be another install of Civi that points to the same drupal installation?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 10, 2008, 01:47:24 pm
Yes this is possible. I have 2.1 and trunk running on same drupal.

I have sites/civicrm and sites/civicrm21 and install whatever modules you require for specific site.

Kurund
Found this reply helpful? Support CiviCRM

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 10, 2008, 01:55:53 pm
Can you tell me your settings?
For example....
sites/www2.example.com/civicrm.settings goes here for the second install?

or?

Just wondering how you did the multi civi one drupal install?

Thanks,

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 10, 2008, 02:26:49 pm
It should be
sites/www2.example1.com/civicrm.settings.php
sites/www2.example2.com/civicrm.settings.php

Kurund
Found this reply helpful? Support CiviCRM

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 11, 2008, 02:03:20 am
oh, so it is a multisite install with one settings.php for drupal.
I usually use this setup for all the sites but give them separate settings files.
Did you put a settings file in each or in sites/default only for drupal?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: How about 2 CiviCRM databases and 1 drupal the opposite of the questions below
October 11, 2008, 06:23:24 am
Quote from: alfred_nutile on October 11, 2008, 02:03:20 am
oh, so it is a multisite install with one settings.php for drupal.

That’s correct.

Quote from: alfred_nutile on October 11, 2008, 02:03:20 am
Did you put a settings file in each or in sites/default only for drupal?

It’s enough to put one Drupal settings.php file in sites/default – that’s the location that Drupal checks if it doesn’t find a more specific file in settings/$domain (this is true for civicrm.settings.php as well).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • How about 2 CiviCRM databases and 1 drupal the opposite of the questions below

This forum was archived on 2017-11-26.