第一个问题
安装过程中提示:Problem running post-install step. Installation may not complete correctly. The database cluster initialisation failed.
当时抱着侥幸继续安装完成,在pgAdmin4中打开servers里是空的!之后重装还是一样的问题,看网上的教程试了各种方法:什么创建net user,设置文件安全属性,Locale选Chinese HK 和 SAR那个说中文支持好?如此卸载安装个了N遍都不行!!(怀疑人生)(可能每个人的遇到的情况不同)
成功解决的办法:Locale直接选“C”就完事儿了…

第二个问题
SQLshell中提示:password authentication failed for user “postgres”
解决办法:打开Postgresql安装目录下的data文件夹,记事本打开pg_hba.conf,将文件里的md5全部改为trust,保存,over。
PostgreSQL安装遇到的坑:Problem running post-install step/password authentication failed for user postgres
诶,就很舒服~

相关文章:

  • 2021-08-14
  • 2022-12-23
  • 2021-10-14
  • 2021-07-06
  • 2021-05-30
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
猜你喜欢
  • 2021-06-10
  • 2021-07-08
  • 2022-12-23
  • 2022-02-07
  • 2021-11-15
  • 2021-06-24
相关资源
相似解决方案