database.php 502 B

123456789101112131415161718192021222324252627
  1. <?php
  2. return array
  3. (
  4. # default database config
  5. 'default' => array
  6. (
  7. 'type' => 'mysql',
  8. 'host' => 'rds9s952vv45p7721k81.mysql.rds.aliyuncs.com:3306',//read,update
  9. 'database' => 'zhinongyun',
  10. 'username' => 'xinnongyun',
  11. 'password' => 'xinnongbaohe',
  12. 'charset' => 'utf8'
  13. ),
  14. /*
  15. 'manage' => array
  16. (
  17. 'type' => 'mysql',
  18. 'host' => 'localhost:3306,localhost:3306',//read,update
  19. 'database' => 'mazephp',
  20. 'username' => 'root',
  21. 'password' => '123456',
  22. 'charset' => 'utf8'
  23. )
  24. */
  25. );