You need to "initdb" first.

Am Freitag, 28. Mai 2010 15:41:38 schrieb zhenyang guo:
> hi,  i have a  problem not knowing how to fix . the follwing are error
> information:
> 
> "
> g...@guo-desktop:~$ su
> Password:
> r...@guo-desktop:/home/guo# su - postgres
> postg...@guo-desktop:~$ psql
> psql: FATAL:  database "postgres" does not exist
> postg...@guo-desktop:~$ createdb test
> createdb: could not connect to database postgres: FATAL:  database
> "postgres" does not exist
> 
> 
> "
> i thought it was due to  postgresql ,so i reinstall it ,still not work.
> i search the problem from the internet, but don't get it .
> need your help. thank  you!
> 

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to