The bit that tells it to look there is the databases.yml file, so I'd check that again and/or show us what's in it.
Fred