windows安装postgresql报错的处理方法

网站编辑2021-12-23 16:41:16948

  在win2008系统安装的postgreaql数据库是发现报错:There  has been an error.An error occured executing the Microsoft VC+ runtime installer。提示是缺少环境导致的,但是系统相关环境已经安装好了,安装还是会报错,通过尝试更换安装方式已经可以解决。

  1.    安装是发现报错


  2.    找到安装程序的文件路径。


  3     打开cmd,然后将当前目录切换到程序的安装文件目录下。


  输入 cd /D D:/安装包/postgresql
  4.     执行命令
  然后再执行  postgresql-9.2.14-1-windows-x64.exe --install_runtimes 0

  5.     出现以下界面,可以继续安装了


最新推荐

右侧广告图1
右侧广告图2