mysql 替换字段中某个字符串

update `services` set url=REPLACE(url,'192.168.0.113','127.0.0.1')

表:services

字段:url

要替换的字符串:192.168.0.113

替换的字符串:127.0.0.1

原文地址:https://www.cnblogs.com/94cool/p/15629046.html