database.yml.example 775 Bytes
Newer Older
1
# MySQL (default setup).
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
2 3 4

production:
  adapter: mysql
5
  database: chiliproject
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
6 7 8
  host: localhost
  username: root
  password:
9
  encoding: utf8
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
10
 
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
11 12
development:
  adapter: mysql
13
  database: chiliproject_development
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
14 15 16
  host: localhost
  username: root
  password:
17
  encoding: utf8
18

19 20 21
# 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.
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
22 23
test:
  adapter: mysql
24
  database: chiliproject_test
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
25 26 27
  host: localhost
  username: root
  password:
28
  encoding: utf8
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
29 30 31

test_pgsql:
  adapter: postgresql
32
  database: chiliproject_test
Jean-Philippe Lang's avatar
Jean-Philippe Lang committed
33 34 35 36
  host: localhost
  username: postgres
  password: "postgres"

37 38
test_sqlite3:
  adapter: sqlite3
39
  database: db/test.sqlite3