-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsettings.local.php
More file actions
72 lines (66 loc) · 2.1 KB
/
settings.local.php
File metadata and controls
72 lines (66 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
* @file
* Database settings example.
*
* This is how I had my database settings configured.
* For each Drupal installation I wanted to work with,
* I added a separate entry to $databases. I worked with
* Drupal 6 and two installations of Drupal 7. Hence,
* I have three additional entries in $databases apart
* from the 'default' entry.
*
* Depending on the index of $databases you use for your
* settings, you will have to configure the 'source'
* parameter of your migration configuration so that Drupal
* reads the source data from the correct place.
*/
// Primary database: Drupal 8
$databases['default']['default'] = array (
'database' => 'sandbox_d8',
'username' => 'root',
'password' => 'f00b@r',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '3306',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
);
// Migration database: Drupal 6
$databases['drupal_6']['default'] = array(
'database' => 'sandbox_d6',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
'username' => 'root',
'password' => 'f00b@r',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '3306',
);
// Migration database: Drupal 7
// Uses 'content_translation' and 'i18n' modules for i18n.
$databases['drupal_7_content']['default'] = array(
'database' => 'sandbox_d7_content',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
'username' => 'root',
'password' => 'f00b@r',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '3306',
);
// Migration database: Drupal 7
// Uses 'entity_translation' and 'title' modules for i18n.
$databases['drupal_7_entity']['default'] = array(
'database' => 'sandbox_d7_entity',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
'username' => 'root',
'password' => 'f00b@r',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '3306',
);
// Other parameters.
$settings['install_profile'] = 'standard';
$config_directories['sync'] = 'sites/sandbox.com/files/config_42DEULKiHpKmh-k1rSl9xFOg-DlL7hEO1kjqWcTlpIA1fI4OnSmVP45zmPp-T_pnZUi67Mq5MQ/sync';