Skip to content

Commit

Permalink
add database file
Browse files Browse the repository at this point in the history
  • Loading branch information
humbroll committed Jun 4, 2013
1 parent e85ff6b commit 5924331
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ capybara-*.html
**.orig
rerun.txt
pickle-email-*.html

/config/database.yml
36 changes: 36 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql
# On MacOS X:
# gem install mysql -- --include=/usr/local/lib
# On Windows:
# gem install mysql
# Choose the win32 build.
# Install MySQL and put its /bin directory on your path.
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
database: toy_development
username: root
password:
socket: /tmp/mysql.sock

# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
# Do not set this db to the same as development or production.
test:
adapter: mysql2
database: toy_test
username: root
password:
socket: /tmp/mysql.sock

production:
adapter: mysql2
database: toy_production
username: root
password:
socket: /tmp/mysql.sock

0 comments on commit 5924331

Please sign in to comment.