简体   繁体   中英

Cannot Connect To PostgreSQL Database

I am trying to connect to my database through R, but am getting an error. My coworker connects perfectly with the same exact script. Anyone know what else could be the problem? We have the same packages installed.

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

PostgreSQL servers control who they listen and talk too. You did well comparing the same script between machines, but you may be coming from different subnets, or any other difference which would tickle this behaviour.

On my box, this is controlled by the file /etc/postgresql/9.1/main/pg_hba.conf -- hba stands for host-based access.

So you may have to talk to your DBA or sysadmin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM