From 75c3f3895796a6730d47f6ec3e57761ebde73d57 Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Tue, 22 Sep 2020 15:35:20 -0700 Subject: [PATCH] Backdrop, D7 - Remove section "Identify the database" --- docs/backdrop/index.md | 29 ----------------------------- docs/drupal7/index.md | 31 ------------------------------- 2 files changed, 60 deletions(-) diff --git a/docs/backdrop/index.md b/docs/backdrop/index.md index de1d6f1..52a2d9b 100644 --- a/docs/backdrop/index.md +++ b/docs/backdrop/index.md @@ -9,35 +9,6 @@ If you plan to develop patches for CiviCRM on WordPress, then please read the [Developer Guide](https://docs.civicrm.org/dev/en/latest) for information about [Buildkit](https://docs.civicrm.org/dev/en/latest/tools/buildkit/) and [civibuild](https://docs.civicrm.org/dev/en/latest/tools/civibuild/). -## Identify the database {:#db-settings} - -You will need to know the database settings for your Backdrop installation prior to running the CiviCRM installer. You can look up these values in your Backdrop `settings.php` file (located in your Backdrop root) be looking for the following code: - -``` php -$db_url = 'mysql://dbuser:dbpassword@localhost/backdrop'; -``` - -or - -``` php -$databases['default']['default'] = array( - 'driver' => 'mysql', - 'database' => 'database_name', - 'username' => 'dbuser', - 'password' => 'dbpassword', - 'host' => 'localhost', -); -``` - -In the above example: - -| Setting | Value | -| ------- | ----- | -| Database Server | localhost | -| Backdrop Database Name | backdrop | -| Database User Name | dbuser | -| Database User Password | dbpassword | - <a name="directory"></a><!-- old anchor --> ## Get the code {:#download} diff --git a/docs/drupal7/index.md b/docs/drupal7/index.md index 11bfb97..47cd091 100644 --- a/docs/drupal7/index.md +++ b/docs/drupal7/index.md @@ -9,37 +9,6 @@ If you plan to develop patches for CiviCRM on Drupal 7, then please use the [Developer Guide](https://docs.civicrm.org/dev/en/latest) for information about [Buildkit](https://docs.civicrm.org/dev/en/latest/tools/buildkit/) and [civibuild](https://docs.civicrm.org/dev/en/latest/tools/civibuild/). -## Identify the database {:#db-settings} - -You will need to know the database settings for your Drupal installation prior to running the CiviCRM installer: You can look up these values in your Drupal `settings.php` file (located by default in your `<drupal_root>/sites/default directory`) be looking for the following code: - -```php -$databases = array ( - 'default' => - array ( - 'default' => - array ( - 'database' => 'drupal', - 'username' => 'dbuser', - 'password' => 'dbpassword', - 'host' => 'localhost', - 'port' => '', - 'driver' => 'mysql', - 'prefix' => '', - ), - ), -); -``` - -In the above example: - -| Setting | Value | -| ---------------------- | ---------- | -| Database Server | localhost | -| Drupal Database Name | drupal | -| Database User Name | dbuser | -| Database User Password | dbpassword | - <a name="directory"></a><!-- old anchor --> ## Get the code {:#download} -- GitLab