postgersql服务启动不了 FATAL: the database system is starting up

公司装有postgersql的数据库的服务器意外宕机,重启后数据库启动不了了,系统是windows 软件版本10,在网上找了解决方案

参考这篇文章https://blog.csdn.net/baidu_18607183/article/details/52945090

出现 :pg_resetxlog 不是内部命令,

查看官方文档后发现postgersql 10 改为了 pg_resetwal  https://www.postgresql.org/docs/current/static/app-pgresetwal.html

按照我下面的方法重置一下,即可,问题大致原因的意外关机,数据库出错。

image

posted @ 2018-07-30 17:29  ATtuing  阅读(3318)  评论(0编辑  收藏  举报