Is Trust Authentication possible with Ecto?

psql is just a client that provides some default values, which ecto doesn’t.

Just provide a host and a user and it should work.

If you think ecto should behave like postgres, open a ticket, but be aware that someone else will ask for mysql behaviour, which tries to use the socket-file at default location even when localhost or 127.0.0.1 as host is specified…

1 Like