<?php
/**
 * Link         :   http://www.phpcorner.net
 * User         :   qingbing<780042175@qq.com>
 * Date         :   2018-12-05
 * Version      :   1.0
 */
return [
    'application' => [
        'name' => 'php-dev',
    ],
    'database' => [
        'master' => [
            'dsn' => 'mysql:dbname=mydatabase;host=127.0.0.1;charset=utf8;',
            'username' => 'master-dev',
            'password' => 'sa123456',
            'invalid' => 'invalid',
        ],
        'slave' => [
            'dsn' => 'mysql:dbname=mydatabase;host=127.0.0.1;charset=utf8;',
            'username' => 'slave-dev',
            'password' => 'sa123456',
        ]
    ]
];