lark

next

Code Create Life
telegram
tg_channel
x
github
zhihu
email
follow

Win 11 Postgresql 16 安装失败

Encountered the following two issues:

One is an error during installation:

Problem running post-install step. Installation may not complete correctlyThe database cluster initialisation failed.

The other is an error during initialization:

The program "postgres" was found by "initdb" but was not the same version as initdb.

The reason for the problem is that the encoding format of cmd has been modified before.

Solution:

  1. Press win+R

  2. Enter regedit

  3. Find Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor

  4. Set Autorun to empty
    image

  5. Reinstall Postgresql

Reference: https://stackoverflow.com/questions/54631443/win-10-postgresql-11-database-cluster-initialisation-failed

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。