Source

RubyLearning / ProjectTrak / vendor / rails / railties / configs / databases / ibm_db.yml

# 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.