Guest User

Untitled

a guest
May 2nd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. RAILS_ENV=production rake db:create
  2.  
  3. RAILS_ENV=production rake db:migrate
  4.  
  5. PG::ConnectionBad
  6. could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP
  7.  
  8. development:
  9. host: localhost
  10. database: ups_developement_db
  11. adapter: postgresql
  12. encoding: unicode
  13. port: 5432
  14. username: postgres
  15. password: postgres
  16. production:
  17. host: dbcustom.cjocvmnblsa4.us-east-2.rds.amazonaws.com
  18. database: ups_db
  19. adapter: postgresql
  20. encoding: unicode
  21. port: 5432
  22. username: dbmasteruser
  23. password: dbmasterPassword
Add Comment
Please, Sign In to add comment