相关疑难解决方法(0)

我的postgres*.conf文件在哪里?

我最近在更新后在我的Ubuntu 8.04上重新安装了postgresql 8.3.使用过的EnterpriseDB包.我可以在本地连接到数据库,我看到系统数据库postgres但我无法配置它,因为我找不到配置文件.通过整个硬盘搜索,发现只有像pg_hba.conf.sample

postgres *.conf文件在哪里?

postgresql configuration ubuntu-8.04

363
推荐指数
13
解决办法
41万
查看次数

如何在nixos中使用postgresql

我已经安装了 PostgreSQL:

  nix-env -iA nixos.postgresql
Run Code Online (Sandbox Code Playgroud)

现在当我使用 时psql,我得到:

psql: error: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
    Is the server running locally and accepting connections on that socket?
Run Code Online (Sandbox Code Playgroud)

我必须添加一些东西/etc/nixos/configuration.nix吗?

更新

我尝试像此链接那样进行操作(即,将其安装在nix-shell而不是安装在中nix-env),但我仍然遇到相同的错误:

$ nix-shell --pure shell.nix
done
server started

$ psql
psql: error: could not connect to server: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on …
Run Code Online (Sandbox Code Playgroud)

postgresql nixos nix

5
推荐指数
1
解决办法
3306
查看次数

在计算机上安装多个版本的Erlang/OTP

是否可以在同一平台上同时安装不同版本的Erlang/OTP?

erlang

4
推荐指数
2
解决办法
3036
查看次数

连接到 google 计算引擎上的 postgres 服务器

我到处都在搜索这个,但搜索了一个半小时后我没有找到任何相关的东西。

如何连接到我的 Google 计算引擎上的数据库?即我想使用笔记本电脑上的 pgadmin3 连接到在我的 google 计算引擎上运行的 postgres 服务器。

这可能吗?如果是这样我该怎么办?

提前致谢!

postgresql google-compute-engine

4
推荐指数
1
解决办法
2995
查看次数