I am new to Magento. I'm basically doing archaeology on an old site that was abandoned by a former engineer. I'm having the following problems:
I can't find the "main" configuration file for Magento. In particular I'd like to find the database connection string so I can locate the database (both in my dev and prod environments). Where is the main config located?
I don't have any dev environment that is in sync with the production code. I would like to copy everything from the production site (everything is still running there, and I'm afraid to touch anything) and create a fresh dev environment. What settings do I need to make sure I change to ensure the dev environment is isolated from the production environment? (e.g. I don't want to have the dev environment accidentally pointing to the production database, or anything else it shouldn't).