agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sribeiro <info@simetriastudio.com>
To: pgsql-sql@postgresql.org
Subject: Re: Re: ERROR while creating new user - could not open relation mapping file global/pg_filenode.map
Date: Thu, 3 Dec 2015 13:08:58 -0800
Message-ID: <5660AF6A.50305@aklaver.com> (raw)
In-Reply-To: <1449176104539-5876192.post@n5.nabble.com>
References: <1449107178100-5876028.post@n5.nabble.com>
<565FCD37.3080804@aklaver.com>
<1449147608774-5876118.post@n5.nabble.com>
<566060E1.6070808@aklaver.com>
<1449160418085-5876161.post@n5.nabble.com>
<56607275.4060404@aklaver.com>
<1449167361158-5876168.post@n5.nabble.com>
<56609751.1000500@aklaver.com>
<1449171498579-5876183.post@n5.nabble.com>
<5660A1F3.1080408@aklaver.com>
<1449176104539-5876192.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
On 12/03/2015 12:55 PM, Sribeiro wrote:
> Ok I stopped and restarted the Postgres Server.
>
> Then I navigated to the directory of my RoR application and tried to run the
> final 2 steps from the information I was following
> https://launchschool.com/blog/how-to-install-postgresql-on-a-mac
>
> Upon running the rake db:create:all command, I get:
> /FATAL: role "serge" does not exist/
>
> Since this is a different error than i would get previously, I hope its a
> good sign.
Yes it is, you have made contact with the database and it is telling you
that serge does not exist as a database user. Per my previous
instructions try some commands with psql first. Right now we need to
establish what is possible before getting to the RoR stage. My general
experience is that if you can't do something with psql then going any
further is not productive.
So in terminal:
psql -d postgres -U postgres
>
>
>
> --
> View this message in context: http://postgresql.nabble.com/ERROR-while-creating-new-user-could-not-open-relation-mapping-file-glob...
> Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
view thread (52+ messages) latest in thread
Message-ID: <5660AF6A.50305@aklaver.com>
Permalink: ../5660AF6A.50305@aklaver.com/
Also on: postgresql.org/message-id/5660AF6A.50305@aklaver.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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@aklaver.com, info@simetriastudio.com
Subject: Re: Re: ERROR while creating new user - could not open relation mapping file global/pg_filenode.map
In-Reply-To: <5660AF6A.50305@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox