diff --git a/config/app.default.php b/config/app.default.php index 7fbc837..c9998be 100644 --- a/config/app.default.php +++ b/config/app.default.php @@ -222,16 +222,16 @@ return [ 'className' => 'Cake\Database\Connection', 'driver' => 'Cake\Database\Driver\Mysql', 'persistent' => false, - 'host' => 'chainquery.lbry.io:3600', + 'host' => 'chainquery.lbry.io', /** * 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' => 'non_standard_port_number', + 'port' => '3306', 'username' => 'marcdeb', 'password' => '3885fc6d0b71befe72a327f47f36c0911057', - 'database' => 'lbry', + 'database' => 'chainquery', 'encoding' => 'utf8', 'timezone' => 'UTC', 'flags' => [], @@ -259,6 +259,27 @@ return [ '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.