【问题标题】:Postgres Installer Error : Problem running the post-install step. Installation may not complete correctlyPostgres 安装程序错误:运行安装后步骤时出现问题。安装可能无法正确完成
【发布时间】:2020-06-10 16:23:31
【问题描述】:

我在尝试重新安装 Postgres 时遇到了这个错误。

**运行安装后步骤时出现问题。安装可能无法正确完成。”

【问题讨论】:

    标签: postgresql


    【解决方案1】:

    我在这篇文章中找到了以下解决方案: https://webkul.com/blog/postgresql-windows-installation-problem-running-post-install-step-installation-may-not-complete-correctly/

    这很好,所以我想我也会在这里分享,所以当我遇到这个错误时我有一个地方可以参考。

    解决方案: 1.卸载PostgreSQL

    1. 运行命令:net user postgres /delete

    2. 单击:控制面板 -> 用户帐户 -> 配置高级用户配置文件属性 -> 删除似乎从 PostgreSQL 安装中留下的所有“未知用户”实例。

    3. 运行命令:net user postgres /add

    4. 运行:compmgmt.msc -> 点击本地用户和组 -> 用户 -> postgres -> 成员 -> 添加... -> 管理员 -> 确定

    5. 运行:runas /user:postgres cmd.exe ->

    6. 切换到安装程序所在的目录并执行安装程序(版本可能不同)postgresql-8.4.9-1-windows.exe

    安装成功,没有错误。检查数据文件夹并确认文件创建成功。

    1. 运行:compmgmt.msc -> 本地用户和组 -> 用户 -> postgres -> 成员 -> 管理员 -> 删除 9/ 运行:compmgmt.msc -> 本地用户和组 -> 用户 -> postgres -> 成员 -> 添加... -> 高级用户 -

    【讨论】:

      猜你喜欢
      • 2022-06-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-09
      • 2014-03-13
      • 2021-02-20
      • 1970-01-01
      相关资源
      最近更新 更多