From e4ec1d92ae6c2b1a83d8324ccca14f0b707cd1cb Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Wed, 29 Oct 2014 23:30:44 -0400 Subject: [PATCH] fix active record db host --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]}"