_Changing Databases on Staging Server

Changing Databases on Staging (Test) Server

The Staging/Test database is located on the Staging Server.

By default the web application on the Staging Server uses the live database. Occasionally, it's necessary to switch to a staging/test database.Similarly, it might also be necessary to switch from a staging/test database to the production/live database.

To change the database accessed by the web application on the Staging Server follow these steps:

  1. Access the web-based sync scripts by going to http://repository.leadliaison.com/. You'll need your Subversion (SVN) credentials to access the site.
  2. Select the 'leadliaison/' folder.
  3. Select the '02-change-connection-strings-leadliaison.php' script.
  4. Hit the appropriate button:
    1. 'CHANGE_to_STAGING_IP' will switch the web application on the Staging Server to use the staging/test database.
    2. 'CHANGE_to_PRODUCTION_IP' will switch the web application on the Staging Server to use the production/live database.

Done!