Return to Snippet

Revision: 12010
at February 26, 2009 23:32 by zachharkey


Initial Code
UPDATE files SET filepath = REPLACE(filepath, 'mutemath.wbrdev.com', 'mutemath');
UPDATE system SET filename = REPLACE(filename, 'mutemath.wbrdev.com', 'mutemath');

Initial URL
http://www.slideshare.net/srhaber/drupal-wbr

Initial Description
Nice tip for doing global search/replace on database, taken from the excellent warner brothers records writeup.

Initial Title
Search/Replace dev environment strings (e.g. filepath) on database

Initial Tags
drupal

Initial Language
XHTML