Thread: Question
> Error trying to connect to database 'bess' on localhost
>
> PostrgreSQL error message: Connection to the database failed could not
> connect to server: Connection timed out
>
> Is the server running on host and accepting TCP/IP connection on port 5432
>
I'm pretty sure I accepted the default port which according to all the documentation I can find is 5432
I am very new to Linux, liking it but frustrated, thanks in advance for any help
Best
Mike Blankemeyer
Philadelphia Scientific
Mike_blankmeyer@phlsci.com
Attachment
Mike Blankemeyer wrote:
> I keep getting this error when trying to connect to my database
>
>> Error trying to connect to database 'bess' on localhost
>>
>> PostrgreSQL error message: Connection to the database failed could
>> not connect to server: Connection timed out
>>
>> Is the server running on host and accepting TCP/IP connection on
>> port 5432
>>
> I'm pretty sure I accepted the default port which according to all
> the documentation I can find is 5432 I am very new to Linux, liking
> it but frustrated, thanks in advance for any help
>
>
>
>
> Best
> Mike Blankemeyer
> Philadelphia Scientific
> Mike_blankmeyer@phlsci.com
Make sure the database server is running.
Something like:
postmaster &
should start the postmaster or give a message stating it has already been started.
It is possible that is not starting because the datbase data area has not been initialised. You need to run initdb for this. For more info try:
http://www.postgresql.org
is the general site
http://www5.uk.postgresql.org/docs/faq-english.html
for the FAQ
http://www.postgresql.org/idocs/
for the intercative documents index
http://www.postgresql.org/idocs/index.php?tutorial-start.html
for the tutorial documents
http://www.postgresql.org/idocs/index.php?admin.html
for the admin guide.
http://techdocs.postgresql.org/
for techdocs.
If you have more problems try pgsql-general@postgresql.org or pgsql-novice@postgresql.org
hth,
- Stuart