473,806 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1182
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
9348
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 ON tblTxAcct.TxAcct_ID=qryTxAcctListCt.TxAcct_ID; I use this query as a RecordSource for a Datasheet that displays Accounts, Types, and the number of Transactions in each Account. An Account cannot exist outside of a Type, but an Account...
6
13588
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 cStepCurveEvaluator.cpp(14) : error C2296: '.*' : illegal, left operand
0
1023
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 links on it is "Admin" link. Now, if some one with "Admin" Role logs in and clicks on it then the "Admin" link should populate all the other links underneath the "Admin" link. I am looking for some thing like toggel link. Can some one please...
14
3739
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 still have about a 3-5px border the color of my page background when viewed in both IE and FF. How can I make it have NO border at
2
6689
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. Thanks, Robin S.
1
3070
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 in the right margin or out of the page. I did some research a while back and came to the conclusion at that time that it wasn't possible to have both (either we align on the hanging indent and if there is a potential for a table to be 6.75
3
2808
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 check that if there is more than one days left the i have to show the days remaining and if it is the last date of the notice then i have to calculate the time left in H:M:S i have been messing around php.net and w3cschools but it all made a mess could...
1
5836
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 position of column 2 should start at column1.left + column1.width; column3 should start at column2.left+column2.width and so on. I created a little bit of code to test this and I am stuck on this error: "the setting you entered isn't valid for this...
2
2837
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 Left Mouse Click to Right Mouse click, I use SwapMouseButton(); But I am stuck at converting LEFT click to DOuble Click.... Could someone please help me with this? Thank you very much,
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10373
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.