小编ber*_*436的帖子

我是否需要设置 tcpip_socket = true 以允许远程连接到 postgresql 数据库?

我正在尝试启用与在 ubuntu 12.04 上运行的 postgresql 9.1 db 的远程连接。

教程说“将 tcpip_socket 设置为 true”——但它适用于 centos 服务器。我在 ubuntu 上。

我的 postgresql.conf 中没有看到这一行。

$cat /etc/postgresql/9.1/main/postgresql.conf | grep tcpip_socket
Run Code Online (Sandbox Code Playgroud)

当我添加它时,我收到错误:

 "FATAL:  unrecognized configuration parameter "tcpip_socket"
Run Code Online (Sandbox Code Playgroud)

如果它在 ubuntu 12.04 上运行,我是否需要告诉 postgres 9.1“打开”tcp_ip 连接?

postgresql ubuntu

3
推荐指数
1
解决办法
5258
查看次数

标签 统计

postgresql ×1

ubuntu ×1