From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | daflmx <daflmx(at)qq(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: |
Date: | 2011-10-31 03:19:04 |
Message-ID: | CAOR=d=0jDvOpQp2bP=1vN+d=wv8j8tR9Ftb1oXFtQ3SR0CbEtQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Oct 30, 2011 at 7:45 PM, daflmx <daflmx(at)qq(dot)com> wrote:
> Hi,friends.
> How can I use the postgreSQL database after I have installed the
> postgresql-8.4_8.4.8-0squeeze2_i386.deb?I don't konw which directory it has
> been released to.
Make sure you've got a postgresql-8.4-client or something like that.
sudo su - postgres
psql
and you're in.
If you want to be able to access it as you, then after psql do:
create user yournamehere;
create database yournamehere with owner yournamehere;
\q
then exit the postgres shell. Now psql for you as joe user should work.
From | Date | Subject | |
---|---|---|---|
Next Message | daflmx | 2011-10-31 03:52:57 | |
Previous Message | Craig Ringer | 2011-10-31 01:59:28 | Re: |