R
R
Rubycon2017-10-22 13:58:25
PostgreSQL
Rubycon, 2017-10-22 13:58:25

How to connect Ruby on Rails to postgresql?

Problem occurs when running migration

fe_sendauth no password supplied
, an attempt to specify the default postgres user in database.yml did not work.
When changing the method in pg_hba.conf from md5, the error changes to trust, but as I understand it, there is a problem with the encoding and it is not possible to read the error59ec78d8dc12c487393899.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kozlov, 2017-10-22
@lebron32rus

Run rails db:create . And in general pass to linux. Development on Rails under Windows is a dubious pleasure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question