Setting up diffetent database connect for local and live site

I’ve been working on a project locally and am now wanting to put it onto a live server. I’ve set up the new target (FTPS Explicit) and it’s uploaded all the files perfectly.

However, how do I set the database connection details for the live site? I’m using PHP/MySQL.

I was assuming the target would have the connection details so as I switch between localhost and live, the right connections are used. This thread indicates that’s your aim, too, but I can’t find where to set it.

A post was merged into an existing topic: Alternative Database Connection