---
title: "PostgreSQL安装报错：The database cluster initialisation failed."
author: "hellostory"
date: "2011-12-01T08:50:00Z"
tags: []
slug: "postgresql-the-database-cluster-initialisation-failed"
draft: false
lastmod: "2012-02-22T11:13:12Z"
id: 1416473
url: "https://hellostory.iteye.com/blog/1416473"
---

本人参照网上方法，按照以下步骤解决。（具体哪个步骤是必须的，至今也不是很清楚，O(∩\_∩)O哈哈~）

1、第一次安装PostgreSQL报错The database cluster initialisation failed.时，等待安装程序结束运行，然后到PostgreSQL的安装后的程序目录下，右击文件夹-属性-安全，给每个Window账户都授权修改、读取和运行等权限；

2、使用PostgreSQL程序文件夹目录下的uninstall-postgresql.exe卸载程序；

3、重新安装PostgreSQL，再选择语言locale 时，选择“C”（网上有很多人建议选择诸如Chinese HongKong等）