<?php
    return [
        'class'    => 'yii\db\Connection',
        'dsn'      => '',
        'username' => '',
        'password' => '',
        'charset'  => 'utf8',
    ];
    //mysql:host=localhost;dbname=yii2advanced