我的Postgres數據庫是在AWS實例運行Windows Server 2012 我的畫面的桌面是在本地機器上。的Tableau臺式機沒有連接到數據庫服務器上的AWS實例
當連接到數據庫使用外部實例中的IP和默認的Postgres端口5432,則顯示錯誤
Unable to connect to the ODBC Data Source.
Check that the necessary drivers are installed and that the connection properties are valid.
Unable to connect to the server "ec2-xx.xx.xx.xx.ap-south-1.compute.amazonaws.com".
Check that the server is running and that you have access privileges to the requested database.
我已經確信: -
AWS安全組配置爲所有傳入端口
Windows Server 2012中防火牆接受所有入站流量。
我的本地桌面被允許將流量發送到遠程server.And我可以
telnet hostIP/hostname PORT
成功。Postgres的服務在5432端口上運行。
我想通過提示「安裝所需的驅動程序」你的意思是問,驅動程序安裝在AWS服務器。是的,驅動程序安裝在AWS服務器上。@ Niceha – angrysumit
您還可以更加具體地在桌面桌面上安裝sql客戶端。 – angrysumit
@angrysumit:SQL客戶端就是例如你可以使用sql開發工具,如果你可以從這個工具查詢你的服務器。這將確保你有連接和訪問數據庫。然後,用於連接的數據庫鏈接或證書存在一些問題 – Niceha