Kullanici ekleyip bir vt'ye bağlanmak.

From: Eşref Atak <esrefatak(at)hotmail(dot)com>
To: "PostgreSQL Turkiye" <pgsql-tr-genel(at)postgresql(dot)org>
Subject: Kullanici ekleyip bir vt'ye bağlanmak.
Date: 2003-06-30 07:39:19
Message-ID: Law8-OE16pjD3OtMjld0001406b@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-tr-genel

Merhaba

Soru ;) :

RedHat'ın son sürümünü dün kurdum. (Aslinda 3 uncu kurusum filan. Cozunurluk
sorununu ancak boyle cozebildim; 800x600'den yukari cikamamistim bir turlu)
Pgsql'e "start" komutunu da verdim komut satirindan.
Islemleri basariyla yapti vs.
(init ve starting service)

Yapmak istedigim sey su idi; komut satirindan vt ve tablo acip, PHP ile
icine kayit girmek. (Evet haklisiniz; son derece ilginc bir amac)
Elimde bi PgSQL belgesi var. Onda belirtilenler su sekilde idi;

Terminal'den su komulari isletmek;

[root(at)localhost data]# su - postgres

bash-2.05$ createuser lkduser

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) n

CREATE USER

bash-2.05$ exit

logout

Buraya kadar tamam. Ama;

[root(at)localhost data]# su - lkduser

bu komutdan sonra

[lkduser(at)localhost lkduser]$ psql template1

Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms

\h for help with SQL commands

\? for help on internal slash commands

\g or terminate with semicolon to execute query

\q to quit

template1=> \l

List of databases

Database | Owner | Encoding

-----------+----------+-----------

template0 | postgres | SQL_ASCII

template1 | postgres | SQL_ASCII

(2 rows)

bunlari yapabilmem gerekirken; ban sunu dedi Terminal :

"lkduser" diye bi kullanici yok.

Halbuki az once ekledim. Nerede yanlislik/eksiklik yapiyorum acaba? Yardimci
olur musunuz?

Bi de; bu belgede; Fil'in kullanicilari ile Lin'in kullanicilari ic-ice
girmis. Hangisi hangi kulanici kafam karisti. Belgelemelerde bu konunun
dikkate alinmasindan fayda goruyorum. Bi de; "kullanici1" olarak oturum
actigim bir bilgisayarda, oturumu kapatmadan nasil "root" olarak oturum
acarim; ve bir de; "root" olarak oturum actigim bir bilgisayarda, oturumumu
kapatmadan, nasil "kullanici1" olarak islem yapabilirim yazilmamis.
"Baglanin" denmis sadece... :(

Dunya'nin yarisi Windows kullaniyor. Lin cok farkli. Lin/fil/php
belgelerinde adim-adim anlatim yontemine hic rastlamadim. Oysa; windows
belgelendirmelerinde igneden-iplige kadar, hersey adim-adim anlatiliyor.
Windows'un yayginlasmasina bir etken de bu.

Goruslerimdi, paylasmak istedim...
Lin camiasina fil(*) ile girmeyi hedef edinmis Esref'den saygilarla. (3
haftadir hedefime ulasamadim ;) )

* : Fil : PostgreSQL (boyle yazmak daha kolay)

Ben ozgurum!

In response to

Responses

Browse pgsql-tr-genel by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-06-30 09:07:03 Re: Kullanici ekleyip bir vt'ye bağlanmak.
Previous Message Eşref Atak 2003-06-24 13:53:21 Re: CVS hazir!