Updated README.rdoc again
[feedcatcher.git] / config / database.sample.yml
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: feedcatcher_development
22 pool: 5
23 username: feedcatcher
24 password:
25 socket: /var/run/mysqld/mysqld.sock
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: feedcatcher_test
35 pool: 5
36 username: feedcatcher
37 password:
38 socket: /var/run/mysqld/mysqld.sock
39
40 production:
41 adapter: mysql
42 encoding: utf8
43 reconnect: false
44 database: feedcatcher_production
45 pool: 5
46 username: feedcatcher
47 password:
48 socket: /var/run/mysqld/mysqld.sock
49