Burlindo
15-06-2004, 21:15
Ciao a tutti. Vediamo qual'è il problema: Devo fare un progetto per l'università che gestisca le news in php e per farlo devo utilizzare postgres (devo crearmi il database delle news). Il prof non ha spiegato una mazza su come utilizzare postgres, ovviamente. Ho la mandrake 9.0 e ho già verificato l'installazione di apache e di php. Il problema è che non riesco a fare sto maledetto db....
ecco cosa mi viene fuori nei vari tentativi:
[ramirez@localhost ramirez]$ createdb prova_db
psql: FATAL 1: user "ramirez" does not exist
createdb: database creation failed
[ramirez@localhost ramirez]$ createuser
Enter name of user to add: ramirez
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
psql: FATAL 1: user "ramirez" does not exist
createuser: creation of user "ramirez" failed
[ramirez@localhost ramirez]$ createuser
Enter name of user to add: porcavacca
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
psql: FATAL 1: user "ramirez" does not exist
createuser: creation of user "porcavacca" failed
-0-
Ovviamente non ho la più pallida idea di come andare avanti...
Mi servirebbe anche un consiglio su qualche sito dove poter trovare qulche manuale di questo dannato postgres.
PS x i mod:Non sapevo se inserire qui il mio 3d oppure nella sezione linux... Spero di aver scelto con giudizio, altrimenti spostate pure
ecco cosa mi viene fuori nei vari tentativi:
[ramirez@localhost ramirez]$ createdb prova_db
psql: FATAL 1: user "ramirez" does not exist
createdb: database creation failed
[ramirez@localhost ramirez]$ createuser
Enter name of user to add: ramirez
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
psql: FATAL 1: user "ramirez" does not exist
createuser: creation of user "ramirez" failed
[ramirez@localhost ramirez]$ createuser
Enter name of user to add: porcavacca
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) y
psql: FATAL 1: user "ramirez" does not exist
createuser: creation of user "porcavacca" failed
-0-
Ovviamente non ho la più pallida idea di come andare avanti...
Mi servirebbe anche un consiglio su qualche sito dove poter trovare qulche manuale di questo dannato postgres.
PS x i mod:Non sapevo se inserire qui il mio 3d oppure nella sezione linux... Spero di aver scelto con giudizio, altrimenti spostate pure