我正在尝试将datagrip连接到我的远程heroku postgres数据库,但它doesn't connect
Connection to jdbc:postgresql://ec2-54-235-156-60.compute-1.amazonaws.com :5432/d89oi6u1v8vmmo failed.
Host ec2-54-235-156-60.compute-1.amazonaws.com is unknown.
[08001] The connection attempt failed.
我读到heroku需要ssl,所以我提供了here
答案 0 :(得分:1)
我找到了答案。问题是“ .com和:”之间的空格。我删除了再次显示错误为
The SSLSocketFactory class provided org.postgresql.ssl.NonValidatingFactory could not be instantiated
我再次对其进行了测试