473,378 Members | 1,280 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

My admin left the job and I am stuck

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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #1
1 1155
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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: deko | last post by:
SELECT tblTxAcct.TxAcctName, tblTxType.TxTypeName, Nz(qryTxAcctListCt.TxCount, 0) AS TxCt FROM (tblTxAcct INNER JOIN tblTxType ON tblTxAcct.TxType_ID=tblTxType.TxType_ID) LEFT JOIN qryTxAcctListCt...
6
by: BlueTrin | last post by:
Hello I was adapting a C version of SolvOpt in C++ to use it within a virtual class. However I am stuck with the overriding of evaluation and gradiant functions. cStepCurveEvaluator.cpp...
0
by: Learner | last post by:
Hello, we are using Master Pages in asp.net 2.0. Our Master page has three contentplaceholders. On the left most ContentPlaceHolder we have all the links for the navigation of the site. One of the...
14
by: dutch90 | last post by:
Hi I want to make my header table (with the logo and nav menu) start at 0,0. I tried body {margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding:0px;} but I...
2
by: RobinS | last post by:
Is it possible to left-justify, center, or right-justify text on a panel when drawing it using DrawString? I looked at the StringAlignment class, but all it has is far, near, and center. ...
1
by: =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?= | last post by:
Hello guys, I was wondering if anybody here had implemented a solution where Tables are aligned according to what the hanging indent tells us when there is a potential for the table overflowing...
3
omerbutt
by: omerbutt | last post by:
hi , i am making a post notices section where i have to show the notices that are still valid, at the time of posting the notice i save the time stamp and date in different columns now i have to...
1
by: jimatqsi | last post by:
I have a report that is often being modified by management. Adding/deleting columns and total levels plays havoc with alignment. I want the report to self arrange all the columns. The left...
2
by: wizi | last post by:
Hi everyone, I am writing an application that allows users change Left Click to Right and Double Click. For example: if an user hit the "Double Click" button, Left click = Double Click. For...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.