📌  相关文章
📜  unhandledpromiserejectionwarning: error: no pg_hba.conf entry for host - 不管代码示例

📅  最后修改于: 2022-03-11 14:55:25.658000             🧑  作者: Mango

代码示例2
var client = new pg.Client({
    user: "admin",
    password: "guest",
    database: "Employees",
    port: 5432,
    host: "localhost",
    ssl: true
}); 
client.connect();