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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Splitting the CiviCRM and Drupal files
Pages: [1]

Author Topic: Splitting the CiviCRM and Drupal files  (Read 1071 times)

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Splitting the CiviCRM and Drupal files
April 13, 2011, 05:23:38 pm
We currently have our Drupal and CiviCRM files in one database (I know that was not the recommended way.)   Assuming I can load the Drupal tables into one database and the CiviCRM files in a separate database, what are the considerations for settings?

Thanks.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Splitting the CiviCRM and Drupal files
April 13, 2011, 07:22:21 pm
We tend to have ours in the same DB - I haven't found the arguments one way or the other very compelling. If you separate them you need to think about:

1) views - if you use views you will have to set up views prefixing
2) custom code - if you have any custom code and it runs direct SQL you'll need to fix that before you make the change
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Splitting the CiviCRM and Drupal files
April 14, 2011, 03:09:23 am
Aside from what Eileen said, the only settings change is to adjust the line starting:

Code: [Select]
define( 'CIVICRM_DSN' ...
in sites/default/civicrm.settings.php
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Splitting the CiviCRM and Drupal files

This forum was archived on 2017-11-26.