Guest User

Untitled

a guest
May 9th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. C:UsersJaielDesktopUebung_3_Elias_Kechter_s0555064_SoSe_2018_AI_Web_Entwicklungorder_management>rails db:migrate
  2. rails aborted!
  3. PG::ConnectionBad: fe_sendauth: no password supplied
  4. bin/rails:4:in `require'
  5. bin/rails:4:in `<main>'
  6. Tasks: TOP => db:migrate
  7. (See full trace by running task with --trace)
  8.  
  9. # PostgreSQL. Versions 9.1 and up are supported.
  10. #
  11. # Install the pg driver:
  12. # gem install pg
  13. # On OS X with Homebrew:
  14. # gem install pg -- --with-pg-config=/usr/local/bin/pg_config
  15. # On OS X with MacPorts:
  16. # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
  17. # On Windows:
  18. # gem install pg
  19. # Choose the win32 build.
  20. # Install PostgreSQL and put its /bin directory on your path.
  21. #
  22. # Configure Using Gemfile
  23. # gem 'pg'
  24. #
  25. default: &default
  26. adapter: postgresql
  27. encoding: unicode
  28. # For details on connection pooling, see Rails configuration guide
  29. # http://guides.rubyonrails.org/configuring.html#database-pooling
  30. pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
  31.  
  32. development:
  33. <<: *default
  34. database: order_management_development
  35.  
  36. # The specified database role being used to connect to postgres.
  37. # To create additional roles in postgres see `$ createuser --help`.
  38. # When left blank, postgres will use the default role. This is
  39. # the same name as the operating system user that initialized the database.
  40. #username: order_management
  41.  
  42. # The password associated with the postgres role (username).
  43. #password:
  44.  
  45. # Connect on a TCP socket. Omitted by default since the client uses a
  46. # domain socket that doesn't need configuration. Windows does not have
  47. # domain sockets, so uncomment these lines.
  48. #host: localhost
  49.  
  50. # The TCP port the server listens on. Defaults to 5432.
  51. # If your server runs on a different port number, change accordingly.
  52. #port: 5432
  53.  
  54. # Schema search path. The server defaults to $user,public
  55. #schema_search_path: myapp,sharedapp,public
  56.  
  57. # Minimum log levels, in increasing order:
  58. # debug5, debug4, debug3, debug2, debug1,
  59. # log, notice, warning, error, fatal, and panic
  60. # Defaults to warning.
  61. #min_messages: notice
  62.  
  63. # Warning: The database defined as "test" will be erased and
  64. # re-generated from your development database when you run "rake".
  65. # Do not set this db to the same as development or production.
  66. test:
  67. <<: *default
  68. database: order_management_test
  69.  
  70. # As with config/secrets.yml, you never want to store sensitive information,
  71. # like your database password, in your source code. If your source code is
  72. # ever seen by anyone, they now have access to your database.
  73. #
  74. # Instead, provide the password as a unix environment variable when you boot
  75. # the app. Read http://guides.rubyonrails.org/configuring.html#configuring-a-database
  76. # for a full rundown on how to provide these environment variables in a
  77. # production deployment.
  78. #
  79. # On Heroku and other platform providers, you may have a full connection URL
  80. # available as an environment variable. For example:
  81. #
  82. # DATABASE_URL="postgres://myuser:mypass@localhost/somedatabase"
  83. #
  84. # You can use this database configuration with:
  85. #
  86. # production:
  87. # url: <%= ENV['DATABASE_URL'] %>
  88. #
  89. production:
  90. <<: *default
  91. database: order_management_production
  92. username: order_management
  93. password: <%= ENV['ORDER_MANAGEMENT_DATABASE_PASSWORD'] %>
  94.  
  95. PG::ConnectionBad: FATAL: Passwort-Authentification failed for user Jaiel
Add Comment
Please, Sign In to add comment