check this thread:
https://openacs.org/forums/message-view?message_id=137219
make sure you have your database server and username specified correctly.