MYSQl need some help

Status
Not open for further replies.

AdFling

Active Member
151
2014
37
0
Hello so I have as lot of images stored in a MYSQL ext_thumb
hgjgkghkgi.png


The url looks like this:
https://67.media.tumblr.com/d219dcbf889820dd99f1d64547e8e42b/tumblr_od7seakpNy1vwrt93o1_540.png

Is there a way to mass change the
https://67.media.tumblr.com
to
https://68.media.tumblr.com

on all of the posts?

I'm currently doing it 1 by 1 but it's a bit time consuming.

__________________
Added after 28 minutes:

Got it working.

This code worked:
UPDATE MyTable

SET text_thumb = REPLACE (text_thumb, 'https://67', 'https://68')

WHERE text_thumb is not NULL;
 
Last edited:
4 comments
Hello so I have as lot of images stored in a MYSQL ext_thumb


__________________
Added after 28 minutes:

Got it working.

This code worked:
UPDATE MyTable

SET text_thumb = REPLACE (text_thumb, 'https://67', 'https://68')

WHERE text_thumb is not NULL;

Hola,
no estoy muy puesto, pero yo suelo bajar la tabla y con un simple archivo de notepad cambio todo "X" por "Y" guardo y vuelvo a subir la tabla. A mi así me funciona.
Un saludo.
 
Status
Not open for further replies.
Back
Top