我想我流浪的机器上运行psql
,但我得到这个错误:Psql无法连接到服务器:没有这样的文件或目录,5432错误?
psql: could not connect to server: No such file or directory
Is the server running locally and accepting connections on
Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
注:流浪1.9.2 盒:Ubuntu的/ trusty64,https://atlas.hashicorp.com/ubuntu/boxes/trusty64
编辑 命令我为了安装使用和运行的Postgres:
sudo apt-get update
sudo apt-get install postgresql
sudo su postgres
psql -d postgres -U postgres
您是否修正了此错误? –