UPDATE `表名` SET `字段名` = REPLACE(字段名, '原始字符串', '替换成其他字符串')多个词语批量替换语句:
UPDATE 表名 SET 字段名 = REPLACE(REPLACE(字段名, '被替换1', '替换成1'), '被替换2', '替换成2');比如我要替换的我旧域名:
UPDATE `wp_posts` SET `post_content` = replace(`post_content`, 'https://old.com/', 'https://new.com/')
]]>