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
Post a Comment