For experienced users, it can be more efficient to use SSH when managing WordPress, and performing tasks such as a search and replace in the database.
Open the dump file with the vim text editor with the following command:
vim filename.sql
Update the command with the following information:
Note: If your current working directory is different than your working directory at the time the dump file was created, then you will need to include the path to the file in the command. For example:
vim /home/user/public_html/filename.sql
Enter command mode by typing the colon (:) character.
Once in command mode, execute a search and replace with the following command:
%s/OldDomain/NewDomain/g
Update the command with the following information:
Press Enter to run the command, which will execute a search and replace of the old domain/data with the new domain/data.
Type the following command to enter command mode, save the file and exit
:wq