some
[appoyo.git] / config / database.yml
blob97ce4ffb212b4cacbd3dcb3735bea226c517c541
1 # MySQL.  Versions 4.1 and 5.0 are recommended.
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.
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: connect_tutorial_development
22   pool: 5
23   username: root
24   password: ruby33
25   socket: /var/run/mysqld/mysqld.sock
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: connect_tutorial_test
35   pool: 5
36   username: root
37   password:
38   socket: /var/run/mysqld/mysqld.sock
40 production:
41   adapter: mysql
42   encoding: utf8
43   reconnect: false
44   database: connect_tutorial_production
45   pool: 5
46   username: root
47   password: 
48   socket: /var/run/mysqld/mysqld.sock