Hello,
I would like to ask you guys, how can we perform a massive Search And Replace operation affecting our WHOLE database ?
I found how to do it on some tables only, in this thread : http://wordpress.org/support/topic/188798?replies=5
For instance, to replace a textstring in a precise field of a table :
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain-name.com', 'http://www.new-domain-name.com') WHERE option_name = 'home' OR option_name = 'siteurl';
What I would like is to see the way to apply it to a COMPLETE database, on all the tables.
With wordpress that could be done table per table, there are few tables so that would be done fast. But on other occasions, I could use that knoweledge to other bigger databases, so I'm curious to know :)
I reckon this is a newbie question, so far I never needed to use mysql syntax, sorry :-/
Thanks if you can help with the magic code that selects everything ;-)
Sabinou