Created
October 1, 2020 12:27
-
-
Save secretorange/0adfde22473f4e731b8dfb2a1c0ff06f to your computer and use it in GitHub Desktop.
PostgreSQL Snippits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Issues installing on windows and running post install script | |
First, setup postgres user: | |
Run: net user postgres dbpasswordhere /add | |
Run: compmgmt.msc -> Click Local Users and Groups -> Users -> postgres ->Member of -> Add… -> Administrators -> OK | |
Run: runas /user:postgres cmd.exe -> cd \ -> postgresql-install.exe -> installed successfully without errors. Checked data folder and confirmed files created successfully. | |
Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Administrators -> Remove | |
Run: compmgmt.msc -> Local Users and Groups -> Users -> postgres -> Member of -> Add… -> Power Users -> OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment