postgresql.conf和pg_hba.conf在Ubuntu服务器上的位置

前端之家收集整理的这篇文章主要介绍了postgresql.conf和pg_hba.conf在Ubuntu服务器上的位置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
从Ubuntu repos安装的运行Postgresql 8.4的 Linux服务器上的文件postgresql.conf和pg_hba.conf在哪里?
在Google上寻找“pg_hba.conf ubuntu”给你

https://help.ubuntu.com/community/PostgreSQL

显示文件的位置.

文档说明如下:

Client authentication is controlled by
a configuration file,which
traditionally is named pg_hba.conf and
is stored in the database cluster’s
data directory. (HBA stands for
host-based authentication.) A default
pg_hba.conf file is installed when the
data directory is initialized by
initdb. It is possible to place the
authentication configuration file
elsewhere,however; see the hba_file
configuration parameter.

请注意,它存储在数据库集群的数据目录中,并且可以通过配置参数将其放在其他位置.官方文档无法指向特定文件夹,因为实际位置取决于操作系统制造商和机器管理员如何设置Postgresql.记住Postgresql支持许多不同的操作系统(和Linux发行版).

另外,两个提示

> locate将帮助您查找您知道名称但不知道位置的文件>基于Debian的发行版位于/usr/share / doc文档中,默认情况下它们如何设置不同的包,我相信你会在/usr/share/doc/postgresql-8.4(或者只是postgresql)下找到相关的信息.配置文件.在他们修改了一些标准行为的情况下阅读非常有用.

原文链接:https://www.f2er.com/postgresql/192512.html

猜你在找的Postgre SQL相关文章