0
0

db.php 186 B

123456789
  1. <?php
  2. return [
  3. 'class' => 'yii\db\Connection',
  4. 'dsn' => 'mysql:host=localhost;dbname=yii2basic',
  5. 'username' => 'root',
  6. 'password' => 'root',
  7. 'charset' => 'utf8',
  8. ];