我最近在Ubuntu上用EnterpriseDB包安装了PostgreSQL。我可以在本地连接到数据库,但我无法对其进行配置,因为我找不到配置文件。我搜索了整个硬盘,只找到了像pg_hba.conf.sample
这样的样本
PostgreSQL .conf
文件在哪里?
发布于 2010-08-31 02:31:31
或者询问你的数据库:
$ psql -U postgres -c 'SHOW config_file'
或者,如果以ubuntu
用户身份登录:
$ sudo -u postgres psql -c 'SHOW config_file'
发布于 2013-05-09 07:37:19
使用软件中心安装的Ubuntu 13.04
:
我的位置是:
/etc/postgresql/9.1/main/postgresql.conf
发布于 2010-08-31 00:51:11
跑
sudo updatedb
紧接着是
locate postgresql.conf
https://stackoverflow.com/questions/3602450
复制相似问题