mysql replace text
snippet in sql

mysql replace text

user978

UPDATE
    table_name
SET
    column_name = REPLACE(column_name, 'text to find', 'text to replace with')
WHERE
    column_name LIKE '%text to find%';

mysql replace string in table

user926

UPDATE products 
SET 
    productDescription = REPLACE(productDescription,
        'abuot',
        'about');