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

/ Published in: XHTML
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. UPDATE files SET filepath = REPLACE(filepath, '', 'mutemath');
  2. UPDATE system SET filename = REPLACE(filename, '', 'mutemath');


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.