I recently took over a web site that is using drupal 4.7.2. I am new to using drupal, so if my question is already answered somewhere please post the link.
I need to test a new feature for my site. I've made a backup copy of drupal and its corresponding mysql database. I will be using for these for testing. Currently my "test site" version of drupal is configured to retrieve data from the same database as my live site. I would like reconfigure the test site to retreive data from the backup database, instead of the live database, so any changes I make will not affect the live version of the site.
How do I reconfigure the test version of drupal to retrieve data from my backup database?
Thanks for any help.
Comments
Look under the sites directory
Look under the sites directory for sites/default/settiings.php. Edit settings.php and change the value for $db_url.
Changing the Database
You can change to a different database by editing the settings.php file found in the sites/default. There will be a line similar to
Just change the databasename if the copy is on the same server as your live site.
thanks, that did the trick.
thanks, that did the trick.