ruby on rails - Postgresql db:create doesn't work because password authentication failed for superuser? -


i working on rails website uses postgresql databse. config/database.yml looks this.

     default: &default       adapter: postgresql       pool: <%= env.fetch("rails_max_threads") { 5 } %>       timeout: 5000       username: postgres       password: mypassword       host: localhost      development:       <<: *default       database: my_db_development      test:       <<: *default         database: my_db_test       production:        <<: *default        database: my_db_production 

i not quite sure doing wrong installed postgresql on computer (windows 10) , during installation asked "please provide password database superuser (postgres)" , when entered "mypassword". goes in username , password? confused.

i found similiar problem forgotten postgresql windows password, hope solve problem.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -