MYSQL中替换函数replace的用法

$name='张三';
update table set keywords=replace(keywords,"'.$name.'","李四") where id =123;