Pages : 1
#1 Le 25/11/2009, à 21:40
- philipn
planner postgresql
Si j'ai compris le manuel en anglais on doit pouvoir relier planner à une base postgresql (exporter un projet).
J'ai installé planner et postgresql, avec un (super)utilisateur.
copié les tables de planner/doc/database dans une base planner.
bidouillé le postgresql.conf et pg_hba.conf en me fiant à ma compréhension des dernières lignes du manuel de postgresql.
Mais rien n'apparait dans planner pour faire cet export.
Je pense que ne pas avoir tout bien fait avec postgresql.
Quelqu'un peut-il m'apporter des explications un peu plus claires que ce manuel en anglais.
Si il ou elle peut le faire via pgadmin3 ou phppgadmin ce serait très bien.
merci
Hors ligne
#2 Le 26/11/2009, à 20:41
- philipn
Re : planner postgresql
Le manuel dit ceci
Next, tell PostgreSQL that its ok to accept connections via TCP/IP.
Log in as root, and modify the the postgresql.conf
file, change the
tcpip_socket value to true, and uncomment the line if necessary.
Then save the file.
Then tell PostgreSQL to allow connections from the ip addresses in
your local area network by adding a host line to pg_hba.conf:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all ident sameuser
host all all 192.168.1.0 255.255.255.0 trust
This line will allow all machines in the IP range of 192.168.1.1 to
192.168.1.254 to access any PostgreSQL database on the server. You
may need to change the IP address and mask depending on your local
network. Contact your network administrator for help in this area.
mais pg_hba. conf ne contient pas vraiement ces lignes
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
# IPv4 local connections:
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
de plus comme je suis en local je ne comprends pas bien l'adresse 192.168.1.0
merci pour les explications
Hors ligne
Pages : 1