použijte REPLACE. a pokud je v poli index, UPDATE je může použít
UPDATE t
set url = REPLACE(url, 'http:', 'https:')
WHERE url LIKE '%http:%';
změňte pouze example.com
toto najde pouze řádek s 'https://example.com '
UPDATE t
set url = REPLACE(url, 'http:', 'https:')
WHERE url LIKE '%https://example.com%';
nebo to najde všechny řádky s https://, ale změní pouze toto https://example.com na https://example.com
UPDATE t
set url = REPLACE(url, 'https://example.com', 'https://example.com')
WHERE url LIKE '%http:%';