Revision 1, 1.2 kB
(checked in by falcon, 17 years ago)
|
Version one -> initial work from the laptop.
|
Rev | Line | |
---|
[1] | 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 | database: Portfolio_development |
---|
| 21 | username: root |
---|
| 22 | password: shadow7 |
---|
| 23 | socket: /var/run/mysqld/mysqld.sock |
---|
| 24 | |
---|
| 25 | # Warning: The database defined as 'test' will be erased and |
---|
| 26 | # re-generated from your development database when you run 'rake'. |
---|
| 27 | # Do not set this db to the same as development or production. |
---|
| 28 | test: |
---|
| 29 | adapter: mysql |
---|
| 30 | encoding: utf8 |
---|
| 31 | database: Portfolio_test |
---|
| 32 | username: root |
---|
| 33 | password: shadow7 |
---|
| 34 | socket: /var/run/mysqld/mysqld.sock |
---|
| 35 | |
---|
| 36 | production: |
---|
| 37 | adapter: mysql |
---|
| 38 | encoding: utf8 |
---|
| 39 | database: Portfolio_production |
---|
| 40 | username: root |
---|
| 41 | password: shadow7 |
---|
| 42 | socket: /var/run/mysqld/mysqld.sock |
---|