[Gfoss] psql
ivan marchesini
marchesini at unipg.it
Fri May 19 10:40:19 CEST 2006
ciao
psql nomedatabase
ma ovviamente il database deve esistere...
inoltre deve esistere anche l'utente postgres
in sostanza, se partiamo da zero, devi seguire questi passi:
diventi root
su + invio
diventi utente postgres
su postgres
crei un utente di database che si chiami come il tuo utente linux (ad
esempio fabio)
createuser fabio
e gli dici che quell'utente può fare tutto..... (ti farà lui alcune
domande a proposito)
crei un database
createdb nomedatabase
a questo punto
exit + invio
e torni root
poi exit + invio
e torni fabio
adesso psql nomedatabase
e sei dentro
spero funzioni!!!!!!
ciao
Il giorno ven, 19/05/2006 alle 10.10 +0200, Fabio D'Ovidio ha scritto:
> Salve a tutti !
>
>
> Ho installato (da un bel pò) PostgreSQL 8.0 (non sono passato alla
> 8.1 perchè mi serviva la quella precedente). Voglio utilizzare
> l'interfaccia a comandi psql (sto lavorando sotto Windows 2000).
>
>
> Il punto è che una volta richiamato psql mi viene chiesta la Password
> utente.
>
>
> Non va ! Le ho provate tutte, mettendo anche la Password per entrare
> nello specifico database, ho cambiato password utente, ecc..
>
>
> Secondo voi è un baco dell' applicazione o cosa ?
>
>
> Forse Ivan può aiutarmi...
>
>
>
>
> Grazie
> ********************************************************************************************
> graphic
>
>
> Ing. Fabio D'Ovidio
> WebGIS Staff
> Planetek Italia Srl
> via Massaua, 12 - 70123 Bari - Italy
> web : http ://www.planetek.it
> e-mail : dovidio at planetek.it
>
>
> ********************************************************************************************
> The following section of this message contains a file attachment
> prepared for transmission using the Internet MIME message format.
> If you are using Pegasus Mail, or any other MIME-compliant system,
> you should be able to save it or view it from within your mailer.
> If you cannot, please ask your system administrator for assistance.
>
> ---- File information -----------
> File: planetek.gif
> Date: 28 Feb 2006, 16:15
> Size: 1899 bytes.
> Type: Unknown
> _______________________________________________
> Gfoss mailing list
> Gfoss at faunalia.com
> http://www.faunalia.com/cgi-bin/mailman/listinfo/gfoss
--
Ivan Marchesini
Department of Civil and Environmental Engineering
University of Perugia
Via G. Duranti 93/a
06125
Perugia (Italy)
e-mail: marchesini at unipg.it
ivan.marchesini at gmail.com
tel: +39(0)755853760
fax: +39(0)755853756
jabber: geoivan73 at jabber.org
More information about the Gfoss
mailing list