database - Postgresql : createdb prompt for password for user with no password -
i have create new user in pgsql no password. when try create database user prompts password
>createuser -d -s -r -u postgres test1 password: >createdb -u test1 db1 password:
i have tried superuser password gives me error :
createdb: not connect database template1: fatal: password authentication failed user "test1"
please help, thank you
there alternative way create user prompting password. can give -p option while creating user. like:
createuser -d -s -r -u postgres test1
Comments
Post a Comment