title: Moving Heroku Shared Database
body: <p>I recently reached the 5mb database limit with heroku, the costs rise dramatically after this point so I'm looking to move the database elsewhere. </p>
  
  <p>I am very new to using VPS and setting up servers from scratch, however, I have done this recently for another app. </p>
  
  <p>I have a couple questions related to this:</p>
  
  <ul>
  <li>Is it possible to create a database on a VPS and point my rails app on heroku to use that database?  </li>
  <li>If so, what would <code>database.yml</code> actually look like. What would be an example <code>localhost</code> with the database stored outside the app? </li>
  </ul>
  
  <p>These may be elementary questions but my knowledge of servers and programming is very much self taught, so I admit, there may be huge loopholes in things that I "should" already understand. </p>
  
  <p><strong>Note:</strong> Other (simpler) suggestions for moving my database are welcomed. Thanks. </p>