Why can't I login to Postgres?
<p>I've used MySQL for years so I might be naively layering my MySQL expectations on to Posgres, but I am hitting a wall. I created a user, <code>flasktut</code> with <code>LOGIN CREATEDB</code> but when I try to log in, I get 
<code>psql: FATAL:  Peer authentication failed for user "flasktut"</code> -- I tried resetting the password:</p>

<pre><code>postgres=# ALTER USER flasktut WITH PASSWORD 'zx80xb1';
ALTER ROLE
</code></pre>

<p>and I'm still seeing the error. I suspect I'm doing something super obvious wrong here?</p>