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

来源:互联网 发布:mac怎么装windows系统 编辑:程序博客网 时间:2024/04/30 22:02

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 。。。

原创粉丝点击