0

I'm trying to set up a Postgresql database for the first time.

After installing postgresql91, i opened up terminal and did the following:

sudo su - postgres
createdb dbname
Password: 
Sorry try again.

I typed in my Mac admin password, why do i get this problem?

Adnan
  • 3,129
  • 6
  • 31
  • 36

1 Answers1

0

For sudo you type in your password, not root's.

Michael Krelin - hacker
  • 138,757
  • 24
  • 193
  • 173