UPDATE `table_name` SET `field_name` = replace (`field_name`,'from_str','to_str') WHERE `field_name` LIKE '%from_str%'table——name=表名field_name=列名from_str=需要被替换的字符串to_str=需要替换成的字符串