pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
My admin left the job and I am stuck
2+ messages / 2 participants
[nested] [flat]

* My admin left the job and I am stuck
@ 2004-08-11 18:41 Karam Chand <karam_chand03@yahoo.com>
  2004-08-12 18:02 ` Re: My admin left the job and I am stuck Laura Vance <vancel@winfreeacademy.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Karam Chand @ 2004-08-11 18:41 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

Hello,

My linux admin left the job. We had a PostgreSQL
installed under his username. He used to maintain it.
Now I am looking at the Linux box and I am just a
super duper newbie in Linux administration.

The previosu admin had a database created under his
name coz PostgreSQL dosnt allow root database.

Now I want to get the data back and use it? I dont
mind if I have to use a different DB?

I dont even know where he isntalled the PostgreSQL
binaries and data?

Where can I all this information?

I am feeling really stupid but thank GOD we dont have
any live databases running?

Regards,
Karam


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: My admin left the job and I am stuck
  2004-08-11 18:41 My admin left the job and I am stuck Karam Chand <karam_chand03@yahoo.com>
@ 2004-08-12 18:02 ` Laura Vance <vancel@winfreeacademy.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Laura Vance @ 2004-08-12 18:02 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

All of the resources you need are at http://www.posgresql.org/

But, a quick note on how to connect to the database, you don't need to 
really know where it's installed, just that it's running and accepting 
connections.  Under Linux "netstat -tapn" will show you all of the open 
TCP ports and what's listening to each.  For Postgres, the default port 
is 5432 and the process is called postmaster.  You may need to be logged 
in as root to see this.

First thing is that knowing SQL basics is pretty much required before 
you can really investigate what he had set up.
Second thing is to connect by using the following command:  psql
Without any arguments, it will connect to the local machine and to a 
database named for the current user.  Once in psql, type \d to see a 
list of the user-defined tables.  To see a list of databases type \l and 
you will be shown a list of databases.

 From there, you can explore until your heart's content.

Everything is SQL compliant, so if you know SQL, you shouldn't have any 
problems.

As for Linux admin, the most important thing to remember is that 
everything is case sensitive.  ls != LS

If you're coming from the MS world, take some time to really learn 
Linux... I'm sure you'll like it and eventually you'll prefer it.  I use 
Linux as my only OS at home, and I finally have a job where I use Linux 
at work (they adopted it after I submitted a proposal).

hope this helps!
Laura

Karam Chand wrote:

>Hello,
>
>My linux admin left the job. We had a PostgreSQL
>installed under his username. He used to maintain it.
>Now I am looking at the Linux box and I am just a
>super duper newbie in Linux administration.
>
>The previosu admin had a database created under his
>name coz PostgreSQL dosnt allow root database.
>
>Now I want to get the data back and use it? I dont
>mind if I have to use a different DB?
>
>I dont even know where he isntalled the PostgreSQL
>binaries and data?
>
>Where can I all this information?
>
>I am feeling really stupid but thank GOD we dont have
>any live databases running?
>
>Regards,
>Karam
>  
>
-- 
Thanks,
Laura Vance
Systems Engineer
Winfree Academy Charter Schools
6221 Riverside Dr. Ste 110
Irving, Tx  75039
Web: www.winfreeacademy.com





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-08-12 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 18:41 My admin left the job and I am stuck Karam Chand <karam_chand03@yahoo.com>
2004-08-12 18:02 ` Laura Vance <vancel@winfreeacademy.com>

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