How to configure postgresql for the first time?

前端 未结 10 878
太阳男子
太阳男子 2020-11-28 16:54

I have just installed postgresql and I specified password x during installation. When I try to do createdb and specify any password I get the message:

10条回答
  •  无人及你
    2020-11-28 17:58

    You probably need to update your pg_hba.conf file. This file controls what users can log in from what IP addresses. I think that the postgres user is pretty locked-down by default.

提交回复
热议问题