database.php 464 B

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