0

I'm creating table in PostgreSQL using these commands:

 shp2pgsql -s 32632 watershed.shp watershed > watershed.sql 
 psql -f watershed.sql cambridge
 psql -f watershed.sql cambridge

But I had this FATAL

password authentication failed for user "ASUS"

How to resolve this?

enter image description here

1 Answer 1

1

To use another user, add the parameters

-U myusername -W

-U specifies a username, -W will prompt for the password

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.