MySQLでテーブル内の文字列を一括置換する

Replace関数

REPLACE(str,from_str,to_str)

strに含まれている文字列from_strを文字列to_strに全置換した後の文字列を返す関数(大文字と小文字を区別、マルチバイトに対応)。

https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_replace

テーブル内の文字列を一括置換するSQL文

UPDATE `table_name` SET column_name = REPLACE(column_name, '置換前の文字列', '置換後の文字列');