PostgreSQL 安装的一些问题

1、PostgreSQL 安装报错 Error reading file postgresql.conf 的解决办法(转)

最近的项目需要用到PostgreSQL数据库了,有点新鲜,但是安装很是让我郁闷,换了几个目录都是安装报错(最后一步报错:Problem running post-install step. Installation may not complete correctly > Error reading file C:/Program Files/PostgreSQL/8.4/data/postgresql.conf),经检查data目录是空的,即使安装完毕也是无法启动。

最后通过万能的百度得到解决方法:Please don´t select "default" in locale when you are using no-English version windows, or you will the following error

意思是说:非英文操作系统,选择地区的时候不能选择默认,应该选择其它。选择Chinese地区就可以了。

另外,如果是覆盖安装也会报错:The database cluster initialization failed,此时应该先卸载完之前的安装才能重新安装!
原地址:http://javawind.net/p100

2、卸载完PostgreSQL后,重新安装出现: The password specified was incorrect. Please enter the c

卸载完PostgreSQL后,重新安装出现:

The password specified was incorrect. Please enter the correct password for the postgres windows user account

进入控制面板-->管理工具->计算机管理->本机用户和组,将Postgres账号直接删除掉。然后就可以继续安装了
原地址:http://wyzws.iteye.com/blog/692241

猜你喜欢

转载自lizi07.iteye.com/blog/1184324