我能够连接psql并做我想要的,而不是IntelliJ.
Postgresql version : postgres (Postgresql) 9.6.1 IntelliJ version : 2016.3.1
IntelliJ配置:
URL : jdbc:postgresql://localhost:5432/sample User : sample Pwd : sample
测试连接:成功
所以,我连接(出现红色方块),然后尝试一个简单的查询:
select 1;
我收到了错误:
FATAL : role 'xxx' doesn't exist`