App Development with CakePHP 3.4 and Bootstrap 4.0

Next: Using Admad/CakePHP-HybridAuth UP: TOC

In order to connect to the exiting database schema the adjustment in ../config/app.php is necessary

'Datasources' => [ 'default' => [ 'className' => 'Cake\Database\Connection', 'driver' => 'Cake\Database\Driver\Postgres', 'persistent' => false, 'host' => 'localhost', 'username' => 'secret', 'schema' => 'logikfabrik', // ava 'password' => 'donottell', 'database' => 'db20170218', 'encoding' => 'utf8', 'timezone' => 'UTC', 'flags' => [], 'cacheMetadata' => true, 'log' => false, 'quoteIdentifiers' => false, ],

Call the main url to check if the database connection works.

Next: Using Admad/CakePHP-HybridAuth UP: TOC