pgadmin postgresql - register new local server
<p>I am trying to setup pgAdmin on a new macbook. I am in the process of setting up a local server but keep getting the error:</p>

<p><code>Error connecting to the server: FATAL: role "postgres" does not exist</code></p>

<p>Here are my settings:</p>

<p><a href="https://i.stack.imgur.com/tlUlP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tlUlP.png" alt="pgadmin_settings"></a></p>

<p>And here are the contents of my pg_hba.conf file:</p>

<pre><code># TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
# IPv6 local connections:
host    all             all             ::1/128                 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local   replication     abc1234                                trust
#host    replication     abc1234        127.0.0.1/32            trust
#host    replication     abc1234        ::1/128                 trust
host all all localhost trust
host all all 192.168.1.0/24 trust
</code></pre>

<p>Can someone help?</p>

<p>Thanks in advance!</p>