--- Hylman <[EMAIL PROTECTED]> wrote:
> - apa bedanya psql, pgsql, postgres ???
>
> - Saya baca dokumentasinya bahwa yang menginstall
> postgres tersebut yang
> akan menjadi administrator dari database tersebut.
> Sedangkan yang bisa
> jalankan SuSE kan hanya superuser (root). Berarti
> hanya root dong yang bisa
> jadi administrator dbase tersebut??
> - Berikut beberapa bagian dari chapter "Setting up
> your environment":
> ................
> If you use a variant of the Bourne shell, such as
> sh, ksh, or bash, then you
> would add
>
> $ PATH=/usr/local/pgsql/bin:$PATH
> $ export PATH
>
> to the .profile file in your home directory.
> ................
> Saya sudah edit file tersebut, namun ketika saya
> jalankan perintah: createdb
> mydb, muncul error berikut:
>
> Is the postmaster running at 'localhost' and
> accepting connections on Unix
> socket '5432'?
> createdb: database creation failed on mydb.
>
> Begitu juga kalo saya jalankan perintah: psql
>
> Sedangkan kalo saya ketik perintah postgres muncul
> error berikut:
> FATAL 1: InitPostgres could not validate that the
> database system version is compatible with this
> level of Postgres.
> You may need to run initdb to create a new database
> system.
> File '/var/lib/pgsql/data/PG_VERSION' does not exist
> or no read permission.
>
> Mohon pencerahan
>
> --
> Regards,
>
> Hylman
>
>
>
1. Coba masuk sebagai root, kemudian elo change
password si user postgres.
2. Kemudian login sbg postgres. Kalo service
postgresql-nya udah jalan coba dimatiin dulu.
3. Kemudian elo harus initialize postgresql-nya dulu
dgn initdb [option], nah optionnya ini gua lupa, elo
check aja sendiri. Yang pasti elo harus tentuin lib
directory dan data directory.
4. Habis itu, yah service postgresql-nya elo restart.
5. Mulai deh, elo createdb bla...bla..bla..
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
--------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]