Skip to content
Snippets Groups Projects
Commit 75c3f389 authored by totten's avatar totten
Browse files

Backdrop, D7 - Remove section "Identify the database"

parent b8d6886b
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment