database.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php defined('SYSPATH') or die('No direct access allowed.');
  2. return array
  3. (
  4. 'default' => array
  5. (
  6. 'type' => 'MySQL',
  7. 'connection' => array(
  8. /**
  9. * The following options are available for MySQL:
  10. *
  11. * string hostname server hostname, or socket
  12. * string database database name
  13. * string username database username
  14. * string password database password
  15. * boolean persistent use persistent connections?
  16. * array variables system variables as "key => value" pairs
  17. *
  18. * Ports and sockets may be appended to the hostname.
  19. */
  20. 'hostname' => 'localhost',
  21. 'database' => 'hello_world',
  22. 'username' => 'benchmarkdbuser',
  23. 'password' => 'benchmarkdbpass',
  24. 'persistent' => FALSE,
  25. ),
  26. 'table_prefix' => '',
  27. 'charset' => 'utf8',
  28. 'caching' => FALSE,
  29. 'profiling' => TRUE,
  30. )
  31. );