if the 2 sites are on the same host, then you can leave it as localhost and just use the same database username/pass/name.
If they are on different sites, then you'll have to enable access to the remote host on the server which has the database. Check your host's documentation for this, everyone is different...then you can change localhost to the database server.
|