postgresql8.4安装失败、服务卸载。

PostgreSQL 安装报错 Error reading file postgresql.conf 的解决办法WinXP SP3 下安装PostgreSQL三次不成。

 

报错:

> Problem running post-install step. Installation may not complete correctly

> Error reading file 安装目录/data/postgresql.conf

 

Please don't select "default" in locale when you are using no-English version windows, or you will the following error

所以,在Default local时,必须选Chinese - Singapore。 Pass。传言data目录默认需要放到NTFS的分区,如果不是,要执行一下 \PostgreSQL\8.4\bin\Initdb.exe 。不过我没遇到问题。

 

已安装过postgresql失败后,重装postgresql前最好:

1、可以从管理工具、计算机管理、本地用户和组删除postgres用户。

2、可以到注册表搜索所有postgres,并删除。

3、服务直接卸载不掉了,真他妈的痴呆。

办法一: 用sc.exe这个Windows命令

开始——运行——cmd.exe,然后输入sc就可以看到了。使用办法很简单:

sc delete "服务名"  (如果服务名中间有空格,就需要前后加引号)

如针对上面的: sc delete 。。。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值