---
title: "Win7下安装PostgreSQL8.4遇到的问题"
author: "gump.bean"
date: "2010-05-19T15:12:33Z"
tags: ["Access", "HTML"]
categories: ["数据库"]
slug: "win7-postgresql8-4"
draft: false
lastmod: "2010-05-19T15:12:33Z"
id: 669888
url: "https://gump-bean.iteye.com/blog/669888"
---

安装到最后时，会报错：  
problem running post-install step.installation may not compelete correctly the database cluster not initialisation failed.

然后在网上解决方法：  
[http://old.nabble.com/Installation-problem-%22...The-database-cluster-initialization-failed..%22-td21343831.html](http://old.nabble.com/Installation-problem-%22...The-database-cluster-initialization-failed..%22-td21343831.html)

 

总结下就是上个网页最后说的：

1] Allow full access to all users ( including "postgres" user) on "Postgres Folder".  
2] Make "postgres" user as the owner of the data directory....

 

再加上：

3] 把控制面板中的 User Account Control settings（UAC）的安全级别关闭

4] 在locale选择的时候，不能用默认的。