How to change old-domain URL to new-domain URL in all tables via command line
You can take backup of whole db to .sql file using mysqldump command and do the replace and import it back. To take the backup of the database to sql file To replace text...