Have a website where we have just changed domain names, but am having a problem because content has been submitted that occasionally uses absolute URL's which has resulted in lots of links through the site pointing to the old domain.
What I want to be able to do is do a search and replace in MySQL that replaces all use of the old domain name with the new one. I've found several search and replace guides around the internet, but they all seem to do a search and replace on a specific field on a specific table like this on;
Code:
UPDATE tablename SET tablefield = replace(tablefield,"findstring","replacestring");
Can anybody tell me how to do a search and replace on an entire database in all fields??
Thanx a million
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --