title: postgreSQL password authentication failed for user
body: <p>I'm taking a full WebDev course and got really hard stuck on this matter. I've installed postgreSQL 14.2 for Windows 10 and the instructor said that pgAdmin4 would come together, which it didn't, so then i installed pgAdmin4 individually. I've setted everything up and created a testing database, which is called <em>'test'</em>, and also a table, everything through Windows Powershell command lines, following the course instructions. Now, when i try to access this database through PowerShell command <code>psql 'test'</code> and type the requested password for the OS user i get a Fatal Error, which follows:</p>
  <pre><code>PS C:\Users\theu_\desktop&gt; psql 'test'
  Password for user theu_:
  psql: error: connection to server at &quot;localhost&quot; (::1), port 5432 failed: FATAL:  password authentication failed for user &quot;theu_&quot;
  </code></pre>
  <p>I've tried my OS username password and the postgreSQL password, none of them works. What am i missing or did wrong?</p>
  <p>Thanks in advance</p>