You need to edit config.php onec you have moved to the NEW server.
Import the database with:
mysql -uUSERNAME -p database_name < /path/to/backup.sql
Backup with;
mysqldump --opt -uUSERNAME -p database_name > /path/to/backup.sql
Replacing the obvious values for username, database name and where the file you wish to import from is (or where you want the dump to go).
|