find and replace text in MySQL database using one sql

update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);

Leave a Reply

Your email address will not be published. Required fields are marked *