[ 'db' => ArrayX::merge( [ 'connectionString' => 'mysql:host=localhost;dbname=website_main', 'enableProfiling' => false, 'enableParamLogging' => false, 'charset' => 'utf8', 'emulatePrepare' => true, // needed by some MySQL installations 'schemaCachingDuration' => 3600, // Performance with AR's ], require_once('database-access.secret.php') // DB Username & PW ), 'errorHandler' => [ 'errorAction' => 'msmain/error', ], ], ];