This documentation refers to an older version of CiviCRM (3.4 / 4.0). The current stable version is 4.1. Please introduce all documentation changes and new material here.

Skip to end of metadata
Go to start of metadata
This page refers to CiviCRM 3.4 and 4.0, current STABLE version.

Documentation Search


CiviCRM 3.4 and 4.0 Documentation

Support and Participation

Developer Resources


CiviCRM books!

Make sure to check out the FLOSS Manual Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Or support us by buying an eBook or hard copy of Using CiviCRM from Packt Publishing.

How can I move my database to a different domain?

First take only data dump from old domain.

mysqldump -t -n -uuser -ppassword database >  dump.sql

Then on your new domain, create database structure

mysql -u user -ppassword database < civicrm_41.mysql

(assuming you are using mysql 4.1 or above). Then import data from old domain

mysql -u user -ppassword database < dump.sql

Also be aware that in CiviCRM 1.6, the settings are stored in the database for resource paths, etc. After copying your database, you will need to go to administer CiviCRM -> Global Settings and change various paths and directories.

[Source. ]

Labels
  • None