pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernt Andreas Drange <bernt.andreas.drange@imr.no>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: Re: Database Name
Date: Wed, 02 Mar 2005 15:28:25 +0100
Message-ID: <1109773705.5490.55.camel@bender> (raw)
In-Reply-To: <cvvvs3$1fli$1@news.hub.org>
References: <cvvvs3$1fli$1@news.hub.org>

On Tue, 2005-03-01 at 09:44 +1300, Envbop wrote:
> Hi
> 
> I've just inherited a PostgreSQL database, for which I do not have any
> details of, like database name or the users.
> This used to be a library database which was managed via a web page written
> in php.
> Its running on a Linux box.
> The front end was also written in php. The original writers of this
> application is no longer.
> 
> I've just started to get familiarisd with postgresql in the last week. and
> have installed PostgreSQL v8.0.1 on a Windows server.
> And I am trying to connect to the linux box via the phppgadmin tool. as well
> as trying an odbc connection.
> 
> Can someone tell me where I can find the database names.

If you look at the php source code, you will find the database name,
user name and password that the php scripts use to connect to the
database. 

That should be a good start. 

If php uses odbc to connect, you might also check /etc/odbc.ini on the
linux box. 

Good luck! 

Bernt




view thread (5+ messages)  latest in thread

Message-ID: <1109773705.5490.55.camel@bender>
Permalink:  ../1109773705.5490.55.camel@bender/
Also on:    postgresql.org/message-id/1109773705.5490.55.camel@bender

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bernt.andreas.drange@imr.no, pgsql-general@postgresql.org
  Subject: Re: Database Name
  In-Reply-To: <1109773705.5490.55.camel@bender>
  References: <cvvvs3$1fli$1@news.hub.org> <1109773705.5490.55.camel@bender>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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