Answers.Body: <p>Yes, You can use the same db of drupal as well as use the separate db, civicrm gives the option to add another db.
  If you want to use another db for civicrm then you have to create the db first and enter the name at time of installation , If you are first time installing civicrm use this <a href="https://docs.civicrm.org/sysadmin/en/latest/install/drupal7/" rel="nofollow noreferrer">doc</a> .Civicrm use civicrm.settings.php to use the database connection,you can also check out that.</p>
  <p>And as you said you have multisite installation you can placed the civicrm at /sites/all/modules to be accessible to all your drupal sites</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-28T14:53:33.830Z
Answers.LastActivityDate: 2019-08-28T14:53:33.830Z
Answers.LastEditDate: 2020-06-17T09:00:50.810Z
Answers.UserDisplayName: Ranjan
Body: <p>I'm trying to install CiviCRM on my drupal multisite installation.
  To create the multisite i used this <a href="https://www.drupal.org/docs/7/multisite-drupal/multi-site-in-subdirectories" rel="nofollow noreferrer">tutorial</a>. As I read the <a href="https://docs.civicrm.org/sysadmin/en/latest/install/multi-site/" rel="nofollow noreferrer">doc</a> for the CiviCRM multisite installation, i understood that i had to use my default site DB. Did I understand it wrong, or is there a way to use separate DBs for CiviCRM multisites ?</p>
  
  <p>Thanks in advance for your advices.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-29T18:41:03.870Z
Comments.Text: are you asking if you can use a separate db for each subsite in the multisite setup?
  multisite explicitly uses one db so there can be complex sharing and separation of data. if you are looking for a complete separation, look at drupal's multisite funcitonality and setup a separate civi instance for each distinct drupal site
Comments.UserDisplayName: ericG
Tags: <drupal><multisite>
Title: Multisite on CiviCRM with Drupal 7
ThreadText: # Multisite on CiviCRM with Drupal 7
  
  (Asked by: username_0 on 2019-08-28)
  
  I'm trying to install CiviCRM on my drupal multisite installation.
  To create the multisite i used this [tutorial](https://www.drupal.org/docs/7/multisite-drupal/multi-site-in-subdirectories). As I read the [doc](https://docs.civicrm.org/sysadmin/en/latest/install/multi-site/) for the CiviCRM multisite installation, i understood that i had to use my default site DB. Did I understand it wrong, or is there a way to use separate DBs for CiviCRM multisites ?
  
  Thanks in advance for your advices.
  
  **Tags:** drupal, multisite
  
  > **Comments:**
  > **username_1**: are you asking if you can use a separate db for each subsite in the multisite setup? multisite explicitly uses one db so there can be complex sharing and separation of data. if you are looking for a complete separation, look at drupal's multisite funcitonality and setup a separate civi instance for each distinct drupal site  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-08-28. Score: 1
  
  Yes, You can use the same db of drupal as well as use the separate db, civicrm gives the option to add another db.
  If you want to use another db for civicrm then you have to create the db first and enter the name at time of installation , If you are first time installing civicrm use this [doc](https://docs.civicrm.org/sysadmin/en/latest/install/drupal7/) .Civicrm use civicrm.settings.php to use the database connection,you can also check out that.
  
  And as you said you have multisite installation you can placed the civicrm at /sites/all/modules to be accessible to all your drupal sites
  
  
  ---
  
  