Ubuntu14.04 PostgreSQL卸载又重装后遇到的问题及解决方法


* No PostgreSQL clusters exist; see "man pg_createcluster"

我装的PostgreSQL-9.5 所以,下面的是9.5

sudo pg_createcluster 9.5 main --start
sudo service postgresql restart

参考:
https://askubuntu.com/questions/455890/does-postgresql-server-setup-a-main-cluster-after-installation-14-04

转载自:https://blog.csdn.net/haohaibo031113/article/details/72886984

You may also like...

退出移动版