How to Fix " FATAL: password authentication failed for user "postgres" " in PostgreSQL or pgAdmin4

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
now the password Here I haven't set any and by default the password is post gray here right so give this password here which is post and if it fails let's try to set a password so go to your terminal and here once again I'm going to switch to the post gray username and then I can give the psql command here right so either you can give this psql command or you can give the create DB command as I said to create the DB here you can change the default password by giving this backslash password command so I'm going to just give backslash password and then space I'm going to just raise s t e and then press enter and then I can give the password for this sde user right but I haven't created any sde user I want to do this for the Post gray user right so let me just um once again give this command and then so because I am giving the postgray user name here I need to give password for the postcreate user so just give backslash postgrad here and then give the new password I'm going to set the very simple password Here and then retype it again and then press enter and it's set and let me just try that password here which I have set and then press save and now it works right so in order to change the password for postgray you can give this command and give your password and remember that password and use the same password in order to connect to your localhost server for post tray user now you can create all these databases this database we have created using the command line right so you have this database and then here you can create the schemas and tables and other things
Info
Channel: ProgrammingKnowledge2
Views: 32,605
Rating: undefined out of 5
Keywords: fatal: password authentication failed for user postgres windows 10, fatal: password authentication failed for user postgres in dbeaver, fatal: password authentication failed for user postgres pgadmin 4, fatal: password authentication failed for user postgres ubuntu, fatal: password authentication failed for user postgres pgadmin 4 ubuntu, fatal: password authentication failed for user postgres docker, unable, to, connect, to, server:, fatal:, password, authentication, failed, for, user, postgres
Id: vFENJpe6eJU
Channel Id: undefined
Length: 2min 19sec (139 seconds)
Published: Mon Jun 05 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.