![]() ![]() Now when the computer reboots, postgres will automatically startup. Now use launchctl to load the file using this command: ![]() I found mine at /usr/local/Cellar/postgresql/9.3.4/.Ĭopy the plist file to the LaunchAgents directory.Ĭp /usr/local/Cellar/postgresql/9.3.4/ ~/Library/LaunchAgents/ Create it if it doesn’t exist.įind the plist file that came with the postgres install. Initdb /usr/local/var/postgres Set up Postgres to run at startupĬheck if the directory ~/Library/LaunchAgents exists. Then simply run the command:īrew install postgres Initialize Postgres If you don’t have homebrew, install it first. ![]() I am saving my notes here in case that site gets removed. Most of what is written here was learned from this blog post. Here are the steps I used to set up Postgres in Mac OSX.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |