TundraSoul
11-24-2014, 10:54 PM
I'd like to replace some text in the vB4.x post table but phpmyadmin won't do it when I use the %.
See my example:
UPDATE `admin_mydatabase`.`post` SET `pagetext` = REPLACE(`pagetext`, 'https://vborg.vbsupport.ru/', 'http://wwww.mysite.com/images/not-available.gif') WHERE `pagetext` LIKE '%https://vborg.vbsupport.ru/%' COLLATE utf8mb4_bin
The query runs successfully but it doesn't replace the text. I suspect it doesn't understand that I'd like it to replace all the image names in the post table regardless of their file names.
How can I make this work? Thanks for your help.
See my example:
UPDATE `admin_mydatabase`.`post` SET `pagetext` = REPLACE(`pagetext`, 'https://vborg.vbsupport.ru/', 'http://wwww.mysite.com/images/not-available.gif') WHERE `pagetext` LIKE '%https://vborg.vbsupport.ru/%' COLLATE utf8mb4_bin
The query runs successfully but it doesn't replace the text. I suspect it doesn't understand that I'd like it to replace all the image names in the post table regardless of their file names.
How can I make this work? Thanks for your help.