Last change
on this file since cf9f2dc was e1a3d57, checked in by njw <njw@…>, 11 years ago |
fixed database.yml
|
-
Property mode
set to
100755
|
File size:
943 bytes
|
Rev | Line | |
---|
[7b7d827] | 1 | # MySQL (default setup). Versions 4.1 and 5.0 are recommended.
|
---|
| 2 | #
|
---|
| 3 | # Install the MySQL driver:
|
---|
| 4 | # gem install mysql
|
---|
| 5 | # On MacOS X:
|
---|
| 6 | # gem install mysql -- --include=/usr/local/lib
|
---|
| 7 | # On Windows:
|
---|
| 8 | # gem install mysql
|
---|
| 9 | # Choose the win32 build.
|
---|
| 10 | # Install MySQL and put its /bin directory on your path.
|
---|
| 11 | #
|
---|
| 12 | # And be sure to use new-style password hashing:
|
---|
| 13 | # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
---|
| 14 | development:
|
---|
| 15 | adapter: mysql
|
---|
| 16 | database: contactdb_development
|
---|
| 17 | username: root
|
---|
| 18 | password:
|
---|
| 19 | host: localhost
|
---|
| 20 |
|
---|
| 21 | # Warning: The database defined as 'test' will be erased and
|
---|
| 22 | # re-generated from your development database when you run 'rake'.
|
---|
| 23 | # Do not set this db to the same as development or production.
|
---|
| 24 | test:
|
---|
| 25 | adapter: mysql
|
---|
| 26 | database: contactdb_test
|
---|
| 27 | username: root
|
---|
[e1a3d57] | 28 | password:
|
---|
[7b7d827] | 29 | host: localhost
|
---|
| 30 |
|
---|
| 31 | production:
|
---|
| 32 | adapter: mysql
|
---|
| 33 | database: contactdb
|
---|
| 34 | username: root
|
---|
| 35 | password:
|
---|
| 36 | host: localhost
|
---|
| 37 | encoding: utf8
|
---|
Note:
See
TracBrowser
for help on using the repository browser.