database.yml 913 B

1234567891011121314151617181920212223242526272829303132
  1. development:
  2. adapter: mysql2
  3. database: huginn_development
  4. username: root
  5. password:
  6. socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
  7. encoding: utf8
  8. reconnect: true
  9. pool: 5
  10. # Warning: The database defined as "test" will be erased and
  11. # re-generated from your development database when you run "rake".
  12. # Do not set this db to the same as development or production.
  13. test:
  14. adapter: mysql2
  15. database: huginn_test
  16. username: root
  17. password:
  18. socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
  19. encoding: utf8
  20. reconnect: true
  21. pool: 5
  22. production:
  23. adapter: mysql2
  24. encoding: utf8
  25. reconnect: true
  26. database: huginn_production
  27. pool: 5
  28. username: root
  29. password: password
  30. socket: /var/run/mysqld/mysqld.sock