windows開啓PostgreSQL數據庫遠程訪問

1.在PostgreSQL安裝目錄下data文件夾,打開pg_hba.conf文件,新增容許訪問的ipsql

 

2.打開postgresql.conf,將listen_addresses = 'localhost' 改爲 listen_addresses = '*'(改過請忽略)post

3.重啓服務postgresql

相關文章
相關標籤/搜索