The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this vers
Posted chzhzh
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this vers相关的知识,希望对你有一定的参考价值。
在PostgreSQL9.6.5 安装 Postgis2.4.2 出现错误
The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.
post2.4.2 需要PostgreSQL10 以上
如果 运行 brew services start postgresql 服务还在
也可以 brew services stop postgresql
但是进入不了psql -u xxx -d xxx 进不了数据库
解决:
brew switch postgres 9.6.5
以上是关于The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this vers的主要内容,如果未能解决你的问题,请参考以下文章
Myeclipse连接oracle数量提示ORA-12504, TNS:listener was not given the SID in CONNECT_DATA。
安装mysql时出现initialize specified but the data directory has files in in.Aborting. 该如何解决
mysql报错--initialize specified but the data directory has files in it. Aborting.
部署LNMP架构时安装MySQL的报错(--initialize specified but the data directory has files in it. Aborting.)!