Skip site navigation (1) Skip section navigation (2)

Re: Error on createuser

From: tomas(at)tuxteam(dot)de
To: vinayak Desai <vinayak(dot)mdesai(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Error on createuser
Date: 2006-06-22 10:24:31
Message-ID: 20060622102431.GA1684@www.trapp.net (view raw or flat)
Thread:
Lists: pgsql-bugs
On Sun, Jun 18, 2006 at 07:38:13PM +0530, vinayak Desai wrote:
> [root(at)localhost ~]# createuser -a -d -e antonio
> createuser: could not connect to database template1: FATAL:  user "root"
> does not exist

This is not a bug. It's just that root is not a known database user.
Typically there is an user postgres with full admin rights, so as root,
do

  su - postgres

and then try crateuser, etc.

HTH
-- toms

In response to

pgsql-bugs by date

Next:From: Alvaro HerreraDate: 2006-06-22 14:07:50
Subject: Re: BUG #2489: Metadata dosen't match tables
Previous:From: Nikolay SamokhvalovDate: 2006-06-22 06:59:08
Subject: BUG #2490: '||' and type casting for user defined types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group