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