db.php 394 B

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