database.config.php 429 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. *---------------------------------------------------------------
  4. * Database configuration
  5. *---------------------------------------------------------------
  6. */
  7. return array(
  8. /*
  9. * the default database
  10. */
  11. 'main' => array(
  12. // selected database
  13. 'db' => 'localhost',
  14. // driver
  15. 'driver' => 'mysql',
  16. // auth
  17. 'host' => '127.0.0.1',
  18. 'user' => 'root',
  19. 'pass' => '',
  20. 'charset' => 'utf8'
  21. ),
  22. );