所以我想将一个本地转储导入我的heroku postgresql db,但是,我运行的任何命令都只是...
psql: could not connect to server: Permission denied (0x0000271D/10013)
Is the server running on host "ec2-23-23-192-242.compute-1.amazonaws.com" (23.23.192.242) and accepting
TCP/IP connections on port 5432?
这是使用heroku pg附加组件设置的凭据,我对它们进行了三次检查以确保它们是正确的。有谁知道为什么它一直给我许可被拒绝?我可以从heroku CLI重置db,但我不能执行任何其他操作......很奇怪。
答案 0 :(得分:0)
-bash-4.2$ psql -h ec2-23-23-192-242.compute-1.amazonaws.com
Password:
psql: FATAL: password authentication failed for user "postgres"
FATAL: no pg_hba.conf entry for host "xx.xx.xx.xx", user "postgres", database "postgres", SSL off