Chciałbym zmodyfikować bazę na serwerze gdzie mam stronę WWW.
U siebie mam Krasnala z phpPgAdmin (bez postgreSQL).
Na serwerze z którym chcę się połączyć jest postgreSQL, jest nazwa bazy user i hasło.
Zmodyfikowałem u siebie plik config.inc.php:
<?php /** * Central phpPgAdmin configuration. As a user you may modify the * settings here for your particular configuration. * * $Id: config.inc.php-dist,v 1.34 2004/05/08 14:45:10 chriskl Exp $ */ // An example server. Create as many of these as you wish, // indexed from zero upwards. // Display name for the server on the login screen $conf['servers'][0]['desc'] = "Serwer z którym się będę łączył"; // Hostname or IP address for server. Use '' for UNIX domain socket. $conf['servers'][0]['host'] = 'http://www.nazwa.domeny.pl'; // Database port on server (5432 is the PostgreSQL default) $conf['servers'][0]['port'] = 5432; // Change the default database only if you cannot connect to template1 $conf['servers'][0]['defaultdb'] = 'nazwa_bazy'; ?>
Login i hasło podaje w okienku phpPgAdmina. Poza tym w pliku konfiguracyjnym nie ma chyba miejsca aby dodać hasło i login.
Nie łącze się z ich serwerem , Co robię źle?
Pozdrawiam