1. # SQLite version 3.x
  2. # gem install sqlite3-ruby (not necessary on OS X Leopard)
  3. development:
  4. adapter: postgresql
  5. database: bbyidx_dev
  6. username: bbyidx
  7. password: bbyidx
  8. host: localhost
  9. template: template0 # fixes database encoding errors in newer versions of PostgreSQL
  10.  
  11. # Warning: The database defined as "test" will be erased and
  12. # re-generated from your development database when you run "rake".
  13. # Do not set this db to the same as development or production.
  14. test:
  15. adapter: postgresql
  16. database: bbyidx_test
  17. username: bbyidx
  18. password: bbyidx
  19. host: localhost
  20. template: template0 # fixes database encoding errors in newer versions of PostgreSQL
  21. timeout: 5000
  22. old:
  23. adapter: mysql
  24. database: bbyidx_dev
  25. timeout: 5000
  26. user: root