database.php 763 B

123456789101112131415161718192021222324252627
  1. <?php defined('SYSPATH') or die('No direct access allowed.');
  2. return array
  3. (
  4. 'default' => array
  5. (
  6. 'type' => 'PDO',
  7. 'connection' => array(
  8. /**
  9. * The following options are available for PDO:
  10. *
  11. * string dsn Data Source Name
  12. * string username database username
  13. * string password database password
  14. * boolean persistent use persistent connections?
  15. */
  16. 'dsn' => 'mysql:host=localhost;dbname=hello_world',
  17. 'username' => 'benchmarkdbuser',
  18. 'password' => 'benchmarkdbpass',
  19. 'persistent' => FALSE,
  20. ),
  21. 'table_prefix' => '',
  22. 'charset' => 'utf8',
  23. 'caching' => FALSE,
  24. 'profiling' => TRUE,
  25. )
  26. );