db.php 182 Bytes
Newer Older
1 2 3
<?php

return [
4 5 6 7 8
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '',
    'charset' => 'utf8',
9
];