lark

next

Code Create Life
telegram
tg_channel
x
github
zhihu
email
follow

Win 11 Postgresql 16 インストール失敗

主な問題は以下の 2 つです

インストール中にエラーが発生する

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

初期化中にエラーが発生する

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

問題の原因は以前に cmd のエンコード形式を変更したことです

解決手順:

  1. win+R

  2. regedit を入力

  3. コンピュータ\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processorを見つける

  4. Autorun を空にする
    image

  5. Postgresql を再インストール

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

読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。