Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 1.33 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # MySQL.  Versions 4.1 and 5.0 are recommended.
  2. #
  3. # Install the MySQL driver:
  4. #   gem install mysql
  5. # On Mac OS X:
  6. #   sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
  7. # On Mac OS X Leopard:
  8. #   sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
  9. #       This sets the ARCHFLAGS environment variable to your native architecture
  10. # On Windows:
  11. #   gem install mysql
  12. #       Choose the win32 build.
  13. #       Install MySQL and put its /bin directory on your path.
  14. #
  15. # And be sure to use new-style password hashing:
  16. #   http://dev.mysql.com/doc/refman/5.0/en/old-client.html
  17. development:
  18.   adapter: mysql
  19.   encoding: utf8
  20.   reconnect: false
  21.   database: r4rmusic1_development
  22.   pool: 5
  23.   username: r4r
  24.   password: railzrulez
  25.   host: localhost
  26.  
  27. # Warning: The database defined as "test" will be erased and
  28. # re-generated from your development database when you run "rake".
  29. # Do not set this db to the same as development or production.
  30. test:
  31.   adapter: mysql
  32.   encoding: utf8
  33.   reconnect: false
  34.   database: r4rmusic1_test
  35.   pool: 5
  36.   username: r4r
  37.   password: railzrulez
  38.   host: localhost
  39.  
  40. production:
  41.   adapter: mysql
  42.   encoding: utf8
  43.   reconnect: false
  44.   database: r4rmusic1_production
  45.   pool: 5
  46.   username: r4r
  47.   password: railzrulez
  48.   host: localhost