From: Dick Davies Date: 2004-11-23T19:02:05+09:00 Subject: Re: PostgreSQL (Postgres-pr) + Rails = Unexpected EOF error? * Abraham Vionas [1118 07:18]: > I'm running XP, Ruby 1.8.2RC3, Rails 0.8.5, PostgreSQL 8BetaRC3, and > Postgres-pr (new Ruby library). > > My problem is that I'm getting an "Unexpected EOF error on client > connection." > > Does anyone perchance know what's causing this? It happens both on Webrick > and Apache. I had it last night for a bit, it was a bad database.yml setting. Can you get in with psql? The following database.yml: production: adapter: postgresql database: dbname host: db.server username: dbuser password: dbpass maps to psql -U dbuser -h db.server dbname If you can't see your tables (type \dt once you're in psql), create them. -- Everybody I know who is right always agrees with ME. - Rev Lady Mal Rasputin :: Jack of All Trades - Master of Nuns