PostgreSQL fe_sendauth: no password supplied

后端 未结 2 1843
闹比i
闹比i 2021-02-07 03:40

I know there are thousands of questsions like this one here on SO but i\'ve seen them all and i\'m still not able to deal with my problem.

I\'m doing everything using an

2条回答
  •  情话喂你
    2021-02-07 04:04

    In C you can do it like this, I don't even know what Rails is

    conninfo = "hostaddr = 127.0.0.1 dbname = bitcoin user = alan password = mypass";
    conn = PQconnectdb(conninfo);
    

    I had exactly the same error message.

提交回复
热议问题