This documentation relates to CiviCRM version 3.1. It's not maintained anymore.
Current version of documentation.

Domain Change

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


Documentation Search


CiviCRM 3.1 Documentation

Support and Participation

Developer Resources


CiviCRM book!

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

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

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.