title: Rails database.yml question when using Amazon RDS
body: <p>How should my database.yml production look like when I am using Heroku and Amazon RDS?</p>
  
  <p>My database.yml </p>
  
  <pre><code># SQLite version 3.x
  # gem install sqlite3-ruby (not necessary on OS X Leopard)
  # gem 'mysql', '2.8.1'
  
      development:
        adapter: mysql
        database: konkurranceportalen
        encoding: utf8
        pool: 5
        username: root
        password: 
        socket: C:/xampp/mysql/bin/mysqld.sock
        host: 127.0.0.1
  
      # 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: mysql
        database: rails_t
        encoding: utf8
        pool: 5
        username: root
        password: 
        socket: C:/xampp/mysql/bin/mysqld.sock
        host: 127.0.0.1
  
      production:
        adapter: mysql
        database: rails_t
        encoding: utf8
        pool: 5
        username: root
        password: 
        socket: C:/xampp/mysql/bin/mysqld.sock
        host: 127.0.0.1
  </code></pre>