Alexander Makarov
11 years ago
2 changed files with 2 additions and 5 deletions
@ -1,8 +1,10 @@ |
|||||||
<?php |
<?php |
||||||
return [ |
return [ |
||||||
'components.db' => [ |
'components.db' => [ |
||||||
|
'class' => 'yii\db\Connection', |
||||||
'dsn' => 'mysql:host=localhost;dbname=yii2advanced', |
'dsn' => 'mysql:host=localhost;dbname=yii2advanced', |
||||||
'username' => 'root', |
'username' => 'root', |
||||||
'password' => '', |
'password' => '', |
||||||
|
'charset' => 'utf8', |
||||||
], |
], |
||||||
]; |
]; |
||||||
|
Loading…
Reference in new issue