db.php 186 B

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