[postgres@localhost bin]$ ./pg_ctl start -D /usr/pgdata/
waiting for server to start....2017-08-11 09:26:19.444 CST [4890] LOG: listening on IPv4 address "0.0.0.0", port 5432
2017-08-11 09:26:19.444 CST [4890] LOG: listening on IPv6 address "::", port 5432
2017-08-11 09:26:19.447 CST [4890] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
postgresql10 启动log追加监听ip和port
最新推荐文章于 2024-08-29 09:34:53 发布
本文记录了PostgreSQL数据库的启动过程及监听配置。通过pg_ctl命令启动位于/usr/pgdata目录下的PostgreSQL服务,并监听IPv4地址0.0.0.0和IPv6地址::,端口均为5432,同时监听Unix套接字/tmp/.s.PGSQL.5432。

2881

被折叠的 条评论
为什么被折叠?



