I had the same issue installing 9.1.4 on windows 7. I managed to find a solution online that worked.
The steps I followed are:
Uninstall PostgresqlDelete the postgres user if it still exists.
net user postgres /delete
Create the postgres user with a password you can remember
net user /add postgres <password>
Add the postgres user to the administrators group
net localgroup administrators postgres /add
Add the postgres user to the Power Users group
net localgroup "power users" postgres /add
Run a command window as the postgres user
runas /user:postgres cmd.exe
Run the install file from within the command window.
C:\Download\postgresql-9.1.4-1-windows.exe
This should run the installation successfully.
Remove the postgres user from the administrators group.
net localgroup administrators postgres /delete
源链接:https://dba.stackexchange.com/questions/10241/postgresql-the-database-cluster-initialization-Failed
总结以上是内存溢出为你收集整理的postgresql server start and then immediately stop全部内容,希望文章能够帮你解决postgresql server start and then immediately stop所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)