Browse files

Use database server host and port so that this quickstart works with

non-embedded databases (running on other gears for scaled apps).
  • Loading branch information...
1 parent c9f3b7e commit ffcf6e23b1d9b35cb2338b483ec2594f7bf1ba17 Ram Ranganathan committed Oct 30, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/database.yml
View
4 config/database.yml
@@ -18,4 +18,6 @@ production:
database: <%=ENV['OPENSHIFT_APP_NAME']%>
username: <%=ENV['OPENSHIFT_MYSQL_DB_USERNAME']%>
password: <%=ENV['OPENSHIFT_MYSQL_DB_PASSWORD']%>
- socket: <%=ENV['OPENSHIFT_MYSQL_DB_SOCKET']%>
+ # socket: <%=ENV['OPENSHIFT_MYSQL_DB_SOCKET']%>
+ host: <%=ENV['OPENSHIFT_MYSQL_DB_HOST']%>
+ port: <%=ENV['OPENSHIFT_MYSQL_DB_PORT']%>

0 comments on commit ffcf6e2

Please sign in to comment.