D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] postresql-101 question

 

On Sun, 20 Mar 2005 13:39:01 +0000, Simon Waters
<simon@xxxxxxxxxxxxxxxxxxxx> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dave morgan wrote:
|
| psql: FATAL 1:  user "root" does not exist

| any ideas?

su - postgres
?


Thanks Simon, that helped

now users and databases created
david@xxxxxxxxx:/var/lib$ psql -l
       List of databases
  Name    |  Owner   | Encoding
-----------+----------+-----------
david     | david    | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
trafstats | david    | SQL_ASCII
(4 rows)

trafstats still won't start mind you :-/

Mar 20 17:08:13 webserver postgres[12868]: [1] FATAL 1:  IDENT
authentication failed for user "david"
Mar 20 17:08:13 webserver trafstats[12867]: [timer]: Failed second
connecion to database: FATAL 1:  IDENT authentication failed for user
"david"
Mar 20 17:08:13 webserver trafstats[12865]: [main] Timer startup
responds NO GO, aborting.


Dave
(off to try and find some better docs)
-- 
http://www.morgad.no-ip.info/index.html    gpg:0x64B5E037 
Distributed Proofreaders: http://www.pgdp.net
The NTP server pool http://www.pool.ntp.org

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html