Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The <a href="http://mxcl.github.com/homebrew/" rel="noreferrer">Homebrew</a> package manager includes launchctl plists to start automatically. For more information run <code>brew info postgres</code>.</p> <p><strong>Start manually:</strong></p> <p><code>pg_ctl -D /usr/local/var/postgres start</code></p> <p><strong>Stop manually:</strong></p> <p><code>pg_ctl -D /usr/local/var/postgres stop</code></p> <p><strong>Start automatically:</strong></p> <p>"To have launchd start postgresql now and restart at login:"</p> <p><code>brew services start postgresql</code> </p> <hr> <p>What is the result of <code>pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start</code>?</p> <p>What is the result of <code>pg_ctl -D /usr/local/var/postgres status</code>? </p> <p>Are there any error messages in the server.log?</p> <p>Make sure tcp localhost connections are enabled in pg_hba.conf: </p> <pre><code># IPv4 local connections: host all all 127.0.0.1/32 trust </code></pre> <p>Check the listen_addresses and port in postgresql.conf:</p> <p><code>egrep 'listen|port' /usr/local/var/postgres/postgresql.conf</code></p> <pre><code>#listen_addresses = 'localhost' # what IP address(es) to listen on; #port = 5432 # (change requires restart) </code></pre> <hr> <p><strong>Cleaning up</strong></p> <p>Postgres was most likely installed via <a href="http://mxcl.github.com/homebrew/" rel="noreferrer">Homebrew</a>, <a href="http://www.finkproject.org/" rel="noreferrer">Fink</a>, <a href="http://www.macports.org/" rel="noreferrer">MacPorts</a> or the <a href="http://www.enterprisedb.com/products-services-training/pgdownload#osx" rel="noreferrer">EnterpriseDB</a> installer.</p> <p>Check the output of the following commands to determine which package manager it was installed with:</p> <pre><code>brew &amp;&amp; brew list|grep postgres fink &amp;&amp; fink list|grep postgres port &amp;&amp; port installed|grep postgres </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload