MyBB Community Forums

Full Version: Update posts with phpmyadmin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I want to update my all posts.
I want to replace all iranbiologists.com in posts with forum.iranbiologists.com

How can i do it? Rolleyes
UPDATE mybb_posts SET message = REPLACE(message,'TEXT_TO_REPLACE','NEW_TEXT');

Make sure your database prefix is mybb_
Edit: delayed response

you can try query like below
UPDATE mybb_posts SET message = REPLACE(message, 'iranbiologists.com', 'forum.iranbiologists.com') WHERE message LIKE '%iranbiologists.com%'
Thanks a lot!