array ( 'type' => 'pdo', 'host' => array ( 'read' => 'web-mysql:3306', 'update' => 'web-mysql:3306', ), 'database' => 'leek', 'username' => 'root', 'password' => '123456', 'charset' => 'utf8', ), ); $config['debug'] = array ( 'log' => array('type' => 'file'), ); return $config;