ich habe einen alten Beitrag gefunden. Dort wird vorgeschlagen:
Code: Alles auswählen
UPDATE phpbb_posts_text
SET post_text = REPLACE(post_text, 'old text', 'new text')
WHERE post_text LIKE '%old text%'
Ich danke für Hinweise!
Gruß
cpg
Code: Alles auswählen
UPDATE phpbb_posts_text
SET post_text = REPLACE(post_text, 'old text', 'new text')
WHERE post_text LIKE '%old text%'
posts_text
gab es laut meinem phpBB Archiv zuletzt bei phpBB 2.0. Da hast du also etwas aus der Steinzeit von phpBB ausgebuddelt. ^^phpbb_posts_text
durch phpbb_posts
ersetzt. Und wie immer bei solchen Aktionen: vorher DB sichern.Code: Alles auswählen
UPDATE phpbb_posts SET post_text = 'new text' where post_text LIKE '%old text%'
Code: Alles auswählen
UPDATE phpbb_posts
SET post_text = REPLACE(post_text, 'old text', 'new text')
WHERE post_text LIKE '%old text%'
forum_id
und post_id
in der Tabelle phpbb_posts
enthalten ist.Code: Alles auswählen
UPDATE phpbb_posts
SET post_text = REPLACE(post_text, 'old text', 'new text')
WHERE post_text LIKE '%old text%'
AND forum_id = 123
AND post_id = 456