PostgreSQLのインストール中にエラーが発生しました:Warning:Problem running post-install step
972 ワード
postgresユーザーを手動で作成し、インストール操作を実行します.具体的な手順は次のとおりです.インストール済みのPostgreSQLを削除し、インストールディレクトリのファイル を削除します. postgresユーザーがいるかどうかを確認し、ある場合はpostgresユーザーを削除します.または、次のスクリプトを実行して を直接削除します. postgresユーザーを作成し、Administratorsおよびpower userグループ に追加 postgresユーザーを使用してcmd.exe を実行実装 を実行する. Administratorsユーザグループからpostgresユーザ を除去する.
net user postgres /delete
net user /add postgres
net localgroup administrators postgres /add
net localgroup "power users" postgres /add
runas /use:postgres cmd.exe
.\postgresql-12.x.x-windows-x64.exe
net localgroup administrators postgres /delete