title: I have installed PostgreSQL via MacPorts, but cannot access it
body: <p>As I said in title, I've installed PostgreSQL usind MacPorts, but cannot access it.</p>
  
  <p>The installation process was</p>
  
  <pre><code>$ sudo port install postgresql83-server
  $ sudo mkdir -p /opt/local/var/db/postgresql83/webcraft
  $ sudo chown postgres:postgres /opt/local/var/db/postgresql83/webcraft
  $ sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/local/var/db/postgresql83/webcraft'
  $ sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
  </code></pre>
  
  <p>My PATH is</p>
  
  <pre><code>/opt/local/lib/postgresql83/bin:/opt/local/lib/mysql5/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
  </code></pre>
  
  <p>I try to connect the server using psql client</p>
  
  <pre><code>$ psql
  psql: could not connect to server: No such file or directory
      Is the server running locally and accepting
      connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
  </code></pre>
  
  <p>Here is some info</p>
  
  <pre><code>$ ps ax | grep postgres | grep -v grep
     52   ??  Ss     0:00.00 /opt/local/bin/daemondo --label=postgresql83-server --start-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql83-server/postgresql83-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql83-server/postgresql83-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql83-server/postgresql83-server.wrapper restart ; --pid=none
  </code></pre>