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:
>
> "
> guo@guo-desktop:~$ su
> Password:
> root@guo-desktop:/home/guo# su - postgres
> postgres@guo-desktop:~$ psql
> psql: FATAL: database "postgres" does not exist
> postgres@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!
>