Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak zacząć używać PostgreSQL?, Jak się zalogować?
tzi
post
Post #1





Grupa: Zarejestrowani
Postów: 43
Pomógł: 0
Dołączył: 12.10.2003
Skąd: Łódź

Ostrzeżenie: (10%)
X----


Do tej pory używałem MySQL ale musiałem skorzystać z innej bazy.
Zainstalowałem sobie Postgres 7.4 (wiem że stare ale musi być kompatybilne z inną bazą) i w tym momencie problem. Jak się zalogować do niej? Jak założyć użytkowników itp?
Próbowałem graficznie się dobrać do tego przez phpPGadmin ale tu ciągle mam "Logowanie niedozwolone".
Proszę o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
sf
post
Post #2





Grupa: Zarejestrowani
Postów: 1 597
Pomógł: 30
Dołączył: 19.02.2003
Skąd: Tychy

Ostrzeżenie: (0%)
-----


Podawałem jak ustawić/zmienić hasło (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
tzi
post
Post #3





Grupa: Zarejestrowani
Postów: 43
Pomógł: 0
Dołączył: 12.10.2003
Skąd: Łódź

Ostrzeżenie: (10%)
X----


Cytat(sf @ 6.10.2006, 08:13:19 ) *
Podawałem jak ustawić/zmienić hasło (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

Faktycznie, nie zauważyłem.

Postąpiłem tak jak opisałeś i ustawiłem hasło dla użytkownika postgres i sql które brzmi poiuyt (później sobie zmienie)

I nadal nic. Ten mój phpPGadmin jest dostępny pod adresem http://tzi.no-ip.org/phppgadmin/. Udostępniłem go w nadzieji że pozwoli to znaleźć rozwiązanie mojego problemu.

----------------------------------------------------------------------------
Już znalazłem.

na stronie: http://phppgadmin.sourceforge.net/?page=faq

jest taka porada:
Kod
Login errors

Q: I always get "Login failed" even though I'm _sure_ I'm using the right username and password.

A: Check the PostgreSQL log on your server, it will give the exact reason why the login is failing. Edit the pg_hba.conf file in your PostgreSQL data dir and make sure you have enabled access to the server properly.

If you've installed phpPgAdmin on a computer different from the PostgreSQL server, another likely reason may be that you have not started the PostgreSQL server with TCP/IP sockets enabled. To enable this, edit your postgresql.conf file and change this line:

    #tcpip_socket = false

to:

    tcpip_socket = true

and then restart PostgreSQL.
Go to the top of the page
+Quote Post
jezoo
post
Post #4





Grupa: Zarejestrowani
Postów: 92
Pomógł: 3
Dołączył: 4.04.2006

Ostrzeżenie: (0%)
-----


Cytat(tzi @ 6.10.2006, 08:27:44 ) *
Już znalazłem.

na stronie: http://phppgadmin.sourceforge.net/?page=faq

jest taka porada:
Kod
Login errors

Q: I always get "Login failed" even though I'm _sure_ I'm using the right username and password.

A: Check the PostgreSQL log on your server, it will give the exact reason why the login is failing. Edit the pg_hba.conf file in your PostgreSQL data dir and make sure you have enabled access to the server properly.

If you've installed phpPgAdmin on a computer different from the PostgreSQL server, another likely reason may be that you have not started the PostgreSQL server with TCP/IP sockets enabled. To enable this, edit your postgresql.conf file and change this line:

    #tcpip_socket = false

to:

    tcpip_socket = true

and then restart PostgreSQL.


u mnie to nie poszlo, dalej nie moge polaczyc sie z baza za pomoca pgadmin:(
dodam ze uzywam postgre 8.1
czy ma ktos jakies koncepcje jak to uruchomic??
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 12:27