Unable to connect yet
Posted: Wed Nov 03, 2010 3:44 am
Hi,
I download PostgreSQL9.0 and it messages "postgresql.conf not found" at the end of the installation. PGAdmin is unable to connect to the server and when I check the event viewer I find the following:
postgres cannot access the server configuration file "D:/Program Files/PostgreSQL/9.0/data/postgresql.conf": No such file or directory
I try to creat such a file with the following content:
listen_addresses = 'localhost' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost', '*' = all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
password_encryption = on
Then I reload the PGAdmin but it still does not work. The event viewer says:
FATAL: "D:/Program Files/PostgreSQL/9.0/data" is not a valid data directory
DETAIL: File "D:/Program Files/PostgreSQL/9.0/data/PG_VERSION" is missing.
I even open the pot 5432 manually and allow the four programs listed to go through the wall, but the pokertracker still does not work, messaging "unbale to connect to this database". So could anyone help me editing the "postgresql.conf" file?
I download PostgreSQL9.0 and it messages "postgresql.conf not found" at the end of the installation. PGAdmin is unable to connect to the server and when I check the event viewer I find the following:
postgres cannot access the server configuration file "D:/Program Files/PostgreSQL/9.0/data/postgresql.conf": No such file or directory
I try to creat such a file with the following content:
listen_addresses = 'localhost' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost', '*' = all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 100 # (change requires restart)
password_encryption = on
Then I reload the PGAdmin but it still does not work. The event viewer says:
FATAL: "D:/Program Files/PostgreSQL/9.0/data" is not a valid data directory
DETAIL: File "D:/Program Files/PostgreSQL/9.0/data/PG_VERSION" is missing.
I even open the pot 5432 manually and allow the four programs listed to go through the wall, but the pokertracker still does not work, messaging "unbale to connect to this database". So could anyone help me editing the "postgresql.conf" file?