首页 / POSTGRCSQL / The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.
The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含699字,纯文字阅读大概需要1分钟。
内容图文
在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 version 10.0.
标签:blog cto data post this dir rect top postgres
本文系统来源:http://www.cnblogs.com/chenzhenzhen/p/7927826.html
内容总结
以上是互联网集市为您收集整理的The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.全部内容,希望文章能够帮你解决The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。