Which file holds the database connection info?

I went through install on localhost. I've uploaded the files to the webhost, and I've uploaded the database to the new web database, but the web db is a different name than the one on localhost, and perhaps that's the reason I'm faced with the the install page again? I'm sure I need to update a file with the new database details but I don't know which one. Thanks.

Posted: Mar 2, 2013


Apprentice on March 2, 2013

... settings.php.... should I edit this file?

(not sure about the port) :/

EDIT: I didn't change the port but changed all the other info.... still facing the install page.