Chainquery integration #49
1 changed files with 24 additions and 3 deletions
|
@ -222,16 +222,16 @@ return [
|
||||||
'className' => 'Cake\Database\Connection',
|
'className' => 'Cake\Database\Connection',
|
||||||
'driver' => 'Cake\Database\Driver\Mysql',
|
'driver' => 'Cake\Database\Driver\Mysql',
|
||||||
'persistent' => false,
|
'persistent' => false,
|
||||||
'host' => 'chainquery.lbry.io:3600',
|
'host' => 'chainquery.lbry.io',
|
||||||
/**
|
/**
|
||||||
* CakePHP will use the default DB port based on the driver selected
|
* CakePHP will use the default DB port based on the driver selected
|
||||||
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
|
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
|
||||||
* the following line and set the port accordingly
|
* the following line and set the port accordingly
|
||||||
*/
|
*/
|
||||||
//'port' => 'non_standard_port_number',
|
'port' => '3306',
|
||||||
'username' => 'marcdeb',
|
'username' => 'marcdeb',
|
||||||
'password' => '3885fc6d0b71befe72a327f47f36c0911057',
|
'password' => '3885fc6d0b71befe72a327f47f36c0911057',
|
||||||
'database' => 'lbry',
|
'database' => 'chainquery',
|
||||||
'encoding' => 'utf8',
|
'encoding' => 'utf8',
|
||||||
'timezone' => 'UTC',
|
'timezone' => 'UTC',
|
||||||
'flags' => [],
|
'flags' => [],
|
||||||
|
@ -260,6 +260,27 @@ return [
|
||||||
'url' => env('DATABASE_URL', 'chainquery.lbry.io:3600'),
|
'url' => env('DATABASE_URL', 'chainquery.lbry.io:3600'),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'localdb' => [
|
||||||
|
'className' => 'Cake\Database\Connection',
|
||||||
|
'driver' => 'Cake\Database\Driver\Mysql',
|
||||||
|
'persistent' => false,
|
||||||
|
'host' => 'localhost',
|
||||||
|
/**
|
||||||
|
* CakePHP will use the default DB port based on the driver selected
|
||||||
|
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
|
||||||
|
* the following line and set the port accordingly
|
||||||
|
*/
|
||||||
|
//'port' => '3306',
|
||||||
|
'username' => 'my_app',
|
||||||
|
'password' => 'secret',
|
||||||
|
'database' => 'my_app',
|
||||||
|
'encoding' => 'utf8',
|
||||||
|
'timezone' => 'UTC',
|
||||||
|
'flags' => [],
|
||||||
|
'cacheMetadata' => true,
|
||||||
|
'log' => false,
|
||||||
|
],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The test connection is used during the test suite.
|
* The test connection is used during the test suite.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue