db.php 393 B

123456789101112131415
  1. <?php
  2. return [
  3. 'class' => 'yii\db\Connection',
  4. 'dsn' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=jinxiaocun',
  5. 'username' => 'zhipuzi',
  6. 'password' => 'Zhipuzitest00',
  7. 'charset' => 'utf8',
  8. // Schema cache options (for production environment)
  9. //'enableSchemaCache' => true,
  10. //'schemaCacheDuration' => 60,
  11. //'schemaCache' => 'cache',
  12. ];