Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (38 sloc) 1.11 KB
# MySQL. Versions 4.1 and 5.0 are recommended.
#
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: tmdb_dev
pool: 5
username: root
password: <%= ENV['TMDB_ENV_MYSQL_ROOT_PASSWORD'] %>
host: <%= ENV['TMDB_PORT_3306_TCP_ADDR'] %>
port: <%= ENV['TMDB_PORT_3306_TCP_PORT'] %>
# 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.
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: tmdb_test
pool: 5
username: root
password: <%= ENV['TMDB_ENV_MYSQL_ROOT_PASSWORD'] %>
host: <%= ENV['TMDB_PORT_3306_TCP_ADDR'] %>
port: <%= ENV['TMDB_PORT_3306_TCP_PORT'] %>
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: tmdb_prod
pool: 5
username: root
password: <%= ENV['TMDB_ENV_MYSQL_ROOT_PASSWORD'] %>
host: <%= ENV['TMDB_PORT_3306_TCP_ADDR'] %>
port: <%= ENV['TMDB_PORT_3306_TCP_PORT'] %>