阅读背景:

可以在PHP中使用pg_connect只使用本地unix域套接字吗?

来源:互联网 

Okay, this is something I've been banging my head on for a few weeks now, so just bear with me. When I set up my postgres database, I wanted to connect to it only through the local Unix socket. Just like how I set up my MySQL database, and subsequent PHP scripts I wrote for it. Thus, the bottom of my pg_hba.conf file looked like this:Okay, this is something I've been banging my he




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: