Link to home
Start Free TrialLog in
Avatar of Rowby Goren
Rowby GorenFlag for United States of America

asked on

Search and replace with Phpmyadmin

Hi I need to use phpmyadmin to replace one doman name with another

for example   replace google.com with yahoo.com

There are no http;// involved -- just the doman name as in this format  google.com

I want to replace it in the entire database.  All tables.

How can I do that within phpmyadmin

Thanks!

Rowby
ASKER CERTIFIED SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Best keep in mind many CMS systems like WordPress use serialized data.

A sure way to destroy your site is to do a search + replace using phpMyAdmin.

If you have any serialized data in your database, you must use a serialized data away tool...

For example, wp-cli for WordPress or some standalone script that handles serialized data.

Big Tip: If you do a phpMyAdmin search + replace which modifies any serialized data, you will likely have to hire someone to attempt recovering your data, which will be a long + costly process.
Avatar of Rowby Goren

ASKER

THanks to both.  I hope I awarded the points correctly using the new interface????   I want to split them if still possible??