PostgreSQL:我更改了位置,它不再启动

时间:2019-04-03 16:00:21

标签: postgresql ubuntu

我尝试按照建议的here更改postgresql的文件夹位置

但是如果我尝试:

sudo -u postgres psql

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"

新位置在:

/home/database/postgresql

0 个答案:

没有答案