In my sample project, I am trying to create postgre database. While running the rake db:create, I am getting some strange message and unable to create the database.
user1234@ubuntu:~/Development/example$ psql -d postgres
psql: FATAL: role "user1234" does not exist
user1234@ubuntu:~/Development/example$ psql -d postgres -U postgres
Password for user postgres:
psql: fe_sendauth: no password supplied
user1234@ubuntu:~/Development/example$ psql -d postgres -U postgres
Password for user postgres:
psql: FATAL: password authentication failed for user "postgres"
Please suggest me, what will be my next step to resolve this issue and to make my sample project in running state.