diff --git a/app.rb b/app.rb index a4cb0cf96c..a6f85163d5 100644 --- a/app.rb +++ b/app.rb @@ -14,7 +14,7 @@ configure do ActiveRecord::Base.establish_connection( :adapter => "mysql2", - :host => "#{ENV["DATABASE_SERVICE_IP_ADDR"]}", + :host => "#{ENV["DATABASE_SERVICE_HOST"]}", :port => "#{ENV["DATABASE_SERVICE_PORT"]}", :database => "#{ENV["MYSQL_DATABASE"]}", :password => "#{ENV["MYSQL_ROOT_PASSWORD"]}"