Re: FATAL: database "dspace" does not exist"

Lists: pgsql-general
From: "Christo Romberg" <coromberg(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: FATAL: database "dspace" does not exist"
Date: 2006-05-02 19:02:17
Message-ID: 5f64248d0605021202y334ae53bt981b952a0834ef85@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi!

I have some problems with PostgreSQL v8.1.3.
My system is Windows XP Professional Edition.

An error occur when I try to connect to the database "dspace" that I've
made.
It claims that the db does not exist, though it does.

Another error occur when try to create a new database. Then error messages
says
that the password is incorrect, though it was correct given by me.

Appreciate the effort!

Best Regards,
Christo


From: "Michael Artz" <mlartz(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: database "dspace" does not exist"
Date: 2006-05-04 03:26:56
Message-ID: e9c163070605032026i2088a047i599a3b7a2c4bd71b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

How do you know that the database exists? If you load up psql, and then \c
dspace, does it let you? If you \l in psql, do you see dspace?

On 5/2/06, Christo Romberg <coromberg(at)gmail(dot)com> wrote:
>
> Hi!
>
> I have some problems with PostgreSQL v8.1.3.
> My system is Windows XP Professional Edition.
>
> An error occur when I try to connect to the database "dspace" that I've
> made.
> It claims that the db does not exist, though it does.
>
> Another error occur when try to create a new database. Then error messages
> says
> that the password is incorrect, though it was correct given by me.
>
> Appreciate the effort!
>
> Best Regards,
> Christo
>


From: "Christo Romberg" <coromberg(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: database "dspace" does not exist"
Date: 2006-05-04 14:56:02
Message-ID: 5f64248d0605040756w63e8630dv7675cb8249fc3c4a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi!

How do you know that the database exists?
>

I know it exists, because I created it when I installed PostgreSQL.
Speaking of databases: I can't even create a new database. If I run the
command createdb databasename from the PostgreSQL cmd, the following error
shows up:

createdb: could not connect to database postgres: FATAL: password
authenticatio
n failed for user "christer"

If you load up psql, and then \c dspace, does it let you? If you \l in
> psql, do you see dspace?
>

Regarding the psql: I fail to log in to psql. When running the command after
typing the password,
the following error text appear:

FATAL: password authentication failed for user "christo"

Another thing: Are you supposed to be "in" psql-mode (logged in) when
running commands such as createdb?

Thanks for Your time!!!

Best Regards,
Christo

2006/5/4, Michael Artz <mlartz(at)gmail(dot)com>:
>
> How do you know that the database exists? If you load up psql, and then
> \c dspace, does it let you? If you \l in psql, do you see dspace?
>
> On 5/2/06, Christo Romberg <coromberg(at)gmail(dot)com > wrote:
>
> > Hi!
> >
> > I have some problems with PostgreSQL v8.1.3.
> > My system is Windows XP Professional Edition.
> >
> > An error occur when I try to connect to the database "dspace" that I've
> > made.
> > It claims that the db does not exist, though it does.
> >
> > Another error occur when try to create a new database. Then error
> > messages says
> > that the password is incorrect, though it was correct given by me.
> >
> > Appreciate the effort!
> >
> > Best Regards,
> > Christo
> >
>
>


From: "Michael Artz" <mlartz(at)gmail(dot)com>
To: "Christo Romberg" <coromberg(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: database "dspace" does not exist"
Date: 2006-05-05 01:07:33
Message-ID: e9c163070605041807i7e9810f1i41b553fffcf9c360@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

I highly suggest reading the manuals, specifically the first link to the
windows installation instructions:
http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html
http://www.postgresql.org/docs/8.1/interactive/index.html

You are getting an error because either you entered in the wrong password or
the database user 'christo' doesn't exist.

Do you have a "psql to 'postgres'" link in your start menu? When you click
on that and enter the password you set up upon install, what happens?

Another thing: Are you supposed to be "in" psql-mode (logged in) when
> running commands such as createdb?
>

createdb is just a shell script for the CREATE DATABASE command that you can
run from within psql.

-Mike