The easy explanation: Backup your database. Export the data from mysql into a text file. Do a search and replace on the text file and re-upload the text file to replace the info on the server.
The harder explanation: If you don’t know how to do all of the above, post again and I or some other soul can explain. it’s a lot of typing if you already know.
Thanks
Steve