update `wp_posts` set `post_content`=REPLACE(`post_content`,'localhost/linkcp','www.linkcp.cn') where `post_content` like '%localhost/linkcp%';
替换wp_post表post_content列中的localhost/linkcp字段为www.linkcp.cn
查询条件是post_content字段中有类似localhost/linkcp的字段
update `wp_posts` set `post_content`=REPLACE(`post_content`,'localhost/linkcp','www.linkcp.cn') where `post_content` like '%localhost/linkcp%';
替换wp_post表post_content列中的localhost/linkcp字段为www.linkcp.cn
查询条件是post_content字段中有类似localhost/linkcp的字段
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。