Bonjour a tous,
voila cela fait plusieurs jours que j'essaie de me servir d'un serveur PostgreSQL sur ma machine (MacBook) sans succès pour le moment.
Pour l'installation aucun problème et tout.
je configure esuite une base de données par défaut en fesant:
initdb -D /chemin/data
et j'obtiens ainsi:
The files belonging to this database system will be owned by user "jeremydecool".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /Users/Shared/PostgreSQL/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 30
selecting default shared_buffers/max_fsm_pages ... 2400kB/20000
creating configuration files ... ok
creating template1 database in /Users/Shared/PostgreSQL/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

/Users/Shared/PostgreSQL/bin/postgres -D /Users/Shared/PostgreSQL/data
or
/Users/Shared/PostgreSQL/bin/pg_ctl -D /Users/Shared/PostgreSQL/data -l logfile start
ensuite je lance donc mon serveur avec la deuxieme ligne de commande indiqué ci dessus et je tente d'aller sur PhpPgAdmin pour tenter une connexion sur ma base avec le fichier de configuration suivant:
$conf['servers'][0]['host'] = 'localhost';
$conf['servers'][0]['port'] = 5432;
$conf['servers'][0]['defaultdb'] = 'template1';
$conf['servers'][0]['pg_dump_path'] = '/Users/Shared/PostgreSQL/bin/pg_dump';
$conf['servers'][0]['pg_dumpall_path'] = '/Users/Shared/PostgreSQL/bin/pg_dumpall';
mais la impossible de me connecter à la base via phppgadmin.
Merci par avance.