pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: ElayaRaja S <elayaraja.s@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Help
Date: Thu, 28 Apr 2005 10:34:24 -0500
Message-ID: <1114702463.13303.1341.camel@state.g2switchworks.com> (raw)
In-Reply-To: <79f1097e05042807514478ad1d@mail.gmail.com>
References: <79f1097e05042807514478ad1d@mail.gmail.com>

On Thu, 2005-04-28 at 09:51, ElayaRaja S wrote:
> After login as su postgres 
> I am unable to create the db;
> 
> 
> $ createdb -E utf8 -U system myDB;
> ERROR:  permission denied to create database
> createdb: database creation failed: ERROR:  permission denied to create database

What's with the -U system in there?

As the postgres user, (i.e. either leave out the -U system or make it -U
postgres) it should work fine.  Oh, and you MAY want to just stick to
lower case names for databases, tables, fields etc... It's easier in the
long run.



view thread (69+ messages)  latest in thread

Message-ID: <1114702463.13303.1341.camel@state.g2switchworks.com>
Permalink:  ../1114702463.13303.1341.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1114702463.13303.1341.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: smarlowe@g2switchworks.com, elayaraja.s@gmail.com
  Subject: Re: Help
  In-Reply-To: <1114702463.13303.1341.camel@state.g2switchworks.com>
  References: <79f1097e05042807514478ad1d@mail.gmail.com> <1114702463.13303.1341.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox