-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config-sample.php
36 lines (35 loc) · 1 KB
/
config-sample.php
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
<?php
return [
'debug' => false,
'test_alias' => 'test',
'connections' => [
[
'alias' => 'source',
'type' => 'database',
'adapter' => 'mysql',
'host' => 'localhost',
'port' => '3306',
'name' => 'some_db_name',
'user' => 'root',
'pass' => 'password_here',
'charset' => 'utf8mb4',
'options' => [
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => false, // Critical for large datasets.
],
],
[
'alias' => 'test',
'type' => 'database',
'adapter' => 'mysql',
'host' => '127.0.0.1',
'port' => '3306',
'name' => 'testing_db',
'user' => 'root',
'pass' => 'password_here',
'charset' => 'utf8mb4',
'options' => [
PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => false, // Critical for large datasets.
],
],
],
];