Find file

Derek Broughton news at pointerstop.ca
Tue Sep 2 14:39:20 UTC 2008


buters wrote:

> 
> Thank you Smoot Carl-Mitchell very much,
> 
> I'm using postgresql. But there is no <name_of_database> under
> /var/lib/postgresql/

No there isn't.
 
> As far as I can remember, I was able access this db even by GUI of openSSH
> client. But I've unfortunately forgotten where it was.

The database should be wherever your pg_hba.conf is - so "locate
pg_hba.conf".  Stock Ubuntu systems will have it in:

/etc/postgresql/VERSION/main/ (where VERSION is 8.2 in my case)
 
The database is then in pgdata/base

-- 
derek





More information about the ubuntu-users mailing list