aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs/databases/ibm_db.yml
blob: a9716ddb4459b6defeef43feb3cc6d1a4ec1f0a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# IBM Dataservers
#
# Home Page
#   http://rubyforge.org/projects/rubyibm/
#
# To install the ibm_db gem:
#   On Linux:
#     Source the db2profile file and set the necessary environment variables:
#
#       . /home/db2inst1/sqllib/db2profile
#       export IBM_DB_DIR=/opt/ibm/db2/V9.1
#       export IBM_DB_LIB=/opt/ibm/db2/V9.1/lib32
#
#     Then issue the command: gem install ibm_db
#
#   On Windows:
#     Issue the command: gem install ibm_db
#     If prompted, select the mswin32 option
#
# For more details on the installation refer to http://rubyforge.org/docman/view.php/2361/7682/IBM_DB_GEM.pdf
#
# For more details on the connection parameters below refer to:
#   http://rubyibm.rubyforge.org/docs/adapter/0.9.0/rdoc/classes/ActiveRecord/ConnectionAdapters/IBM_DBAdapter.html

development:
  adapter:     ibm_db
  username:    db2inst1
  password:
  database:    <%= app_name[0,4] %>_dev
  #schema:      db2inst1
  #host:        localhost
  #port:        50000
  #account:     my_account
  #app_user:    my_app_user
  #application: my_application
  #workstation: my_workstation

test:
  adapter:     ibm_db
  username:    db2inst1
  password:
  database:    <%= app_name[0,4] %>_tst
  #schema:      db2inst1
  #host:        localhost
  #port:        50000
  #account:     my_account
  #app_user:    my_app_user
  #application: my_application
  #workstation: my_workstation

production:
  adapter:     ibm_db
  username:    db2inst1
  password:
  database:    <%= app_name[0,4] %>_prd
  #schema:      db2inst1
  #host:        localhost
  #port:        50000
  #account:     my_account
  #app_user:    my_app_user
  #application: my_application
  #workstation: my_workstation